Function at 0x402a70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x157c
call fcn.00408b80
mov eax, dword [0x42a470]
mov dword [ebp - 8], eax
mov dword [ebp - 0x132c], 0
lea eax, [ebp - 0x132c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push str.VPServer_TIFF
call fcn.004063c0
add esp, 0xc
mov dword [0x42e044], eax
cmp dword [0x42e044], 0
jge 0x40424d
lea edx, [ebp - 0x1008]
push edx
push str.CheckKey_____s
push 0x425884
call fcn.00405ef0
add esp, 0xc
push str.SimplexAuto
mov eax, dword [ebp + 8]
add eax, 0x334
push eax
call fcn.00408af0
add esp, 8
test eax, eax
jne 0x402af8
mov dword [ebp - 4], 1
jmp 0x402b23
push str.DuplexAuto
mov ecx, dword [ebp + 8]
add ecx, 0x334
push ecx
call fcn.00408af0
add esp, 8
test eax, eax
jne 0x402b1c
mov dword [ebp - 4], 2
jmp 0x402b23
mov dword [ebp - 4], 0
push 0x42fde0
push 0x42e2a0
push 0x4258ac
lea edx, [ebp - 0x1328]
push edx
call fcn.00407e60
add esp, 0x10
push 0x42fde0
push 0x4258bc
lea eax, [ebp - 0x1438]
push eax
call fcn.00407e60
add esp, 0xc
lea ecx, [ebp - 0x1438]
push ecx
push 0x42e2a0
push 0x4258c4
lea edx, [ebp - 0x1220]
push edx
call fcn.00407e60
add esp, 0x10
push 0
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x1328]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x402bb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TestLicenseValide___:_Erreur_CopyFile__u
push 0x425900
call fcn.00405ef0
add esp, 0xc
or eax, 0xffffffff
jmp 0x404268
cmp dword [ebp - 4], 0
je 0x4030a7
push 0x1cc
call fcn.00407c0d
add esp, 4
mov dword [ebp - 0x1548], eax
cmp dword [ebp - 0x1548], 0
jne 0x402bf5
push str.TestLicenseValide___:_Erreur_Malloc_pour_listeAuto
push 0x425940
call fcn.00405ef0
add esp, 8
or eax, 0xffffffff
jmp 0x404268
push 0x1cc
push str.V1.0___Copyright
mov edx, dword [ebp - 0x1548]
push edx
call fcn.004087b0
add esp, 0xc
mov eax, dword [ebp - 0x1548]
add eax, 0x173
mov dword [ebp - 0x1554], eax
mov ecx, dword [ebp - 0x1548]
add ecx, 0x19c
mov dword [ebp - 0x1550], ecx
mov edx, dword [0x42dcf0]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [0x42dcf0]
and edx, 0xff
movzx eax, dl
and eax, 0xff
movzx edx, al
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 0x1550]
mov word [eax + 0xa], cx
mov ecx, dword [ebp - 0x1554]
mov edx, dword [ebp - 0x1550]
mov ax, word [edx + 0xa]
mov word [ecx + 0xc], ax
mov ecx, dword [ebp - 0x1554]
mov edx, dword [ebp - 0x1554]
mov ax, word [edx + 0xc]
mov word [ecx + 2], ax
mov ecx, dword [0x42dcec]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [0x42dcec]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1550]
mov word [edx + 0xc], ax
mov eax, dword [ebp - 0x1554]
mov ecx, dword [ebp - 0x1550]
mov dx, word [ecx + 0xc]
mov word [eax + 0xe], dx
mov eax, dword [ebp - 0x1554]
mov ecx, dword [ebp - 0x1554]
mov dx, word [ecx + 0xe]
mov word [eax + 4], dx
cmp dword [ebp - 4], 1
jne 0x402d2b
mov eax, dword [ebp - 0x1554]
mov word [eax + 6], 0
mov ecx, dword [ebp - 0x1554]
mov word [ecx + 8], 0
push str.V_SimplexAuto
lea edx, [ebp - 0x1540]
push edx
call fcn.004079e0
add esp, 8
jmp 0x402d73
mov eax, dword [ebp - 0x1554]
mov word [eax + 6], 0x100
mov ecx, dword [0x42dcec]
cmp ecx, dword [0x42dcf0]
jge 0x402d53
mov edx, dword [ebp - 0x1554]
mov word [edx + 8], 0
jmp 0x402d5f
mov eax, dword [ebp - 0x1554]
mov word [eax + 8], 0x100
push str.V_DuplexAuto
lea ecx, [ebp - 0x1540]
push ecx
call fcn.004079e0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x53c]
push eax
lea ecx, [ebp - 0x1540]
push ecx
push 0x42e060
push str._s_s._d
lea edx, [ebp - 0x1118]
push edx
call fcn.00407e60
add esp, 0x14
mov eax, dword [ebp - 0x1554]
mov word [eax + 0xa], 0
mov ecx, dword [ebp - 0x1548]
add ecx, 0x53
mov dword [ebp - 0x1544], ecx
mov edx, dword [ebp - 0x1544]
movzx eax, word [edx + 0x1a]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x1544]
movzx ecx, word [eax + 0x1a]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
mov eax, dword [ebp - 0x1548]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x154c], ecx
cmp dword [0x42dcec], 0xe10
jle 0x402e5e
mov eax, dword [0x42dcec]
sub eax, 0xe10
cdq
sub eax, edx
sar eax, 1
shr eax, 8
movzx edx, al
and edx, 0xff
movzx ecx, dl
mov eax, dword [0x42dcec]
sub eax, 0xe10
cdq
sub eax, edx
sar eax, 1
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x154c]
mov word [edx], cx
jmp 0x402e69
mov eax, dword [ebp - 0x154c]
mov word [eax], 0
cmp dword [0x42dcf0], 0x12c0
jle 0x402ec4
mov eax, dword [0x42dcf0]
sub eax, 0x12c0
cdq
sub eax, edx
sar eax, 1
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx ecx, cl
mov eax, dword [0x42dcf0]
sub eax, 0x12c0
cdq
sub eax, edx
sar eax, 1
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x154c]
mov word [edx + 2], cx
jmp 0x402ed0
mov eax, dword [ebp - 0x154c]
mov word [eax + 2], 0
mov ecx, dword [0x42dcf0]
push ecx
mov edx, dword [0x42dcec]
push edx
push str.OVLDEMO1_Lp__d__Hp__d
push 0x425990
call fcn.00405ef0
add esp, 0x10
mov eax, dword [ebp - 0x154c]
movzx ecx, word [eax + 2]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x154c]
movzx edx, word [ecx + 2]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x154c]
movzx edx, word [ecx]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x154c]
movzx eax, word [edx]
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
push ecx
push str.OVLDEMO1_XOvl__d__YOvl__d
push 0x4259b8
call fcn.00405ef0
add esp, 0x10
push 0x4259c4
lea edx, [ebp - 0x1118]
push edx
call fcn.00408790
add esp, 8
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
jne 0x402fd6
lea eax, [ebp - 0x1118]
push eax
push 0x4259c8
push 0x4259f4
call fcn.00405ef0
add esp, 0xc
cmp dword [ebp - 0x1548], 0
je 0x402fce
mov ecx, dword [ebp - 0x1548]
push ecx
call fcn.00407ad8
add esp, 4
or eax, 0xffffffff
jmp 0x404268
mov edx, dword [ebp - 0x100c]
push edx
push 0x1cc
push 1
mov eax, dword [ebp - 0x1548]
push eax
call fcn.0040865f
add esp, 0x10
cmp eax, 0x1cc
je 0x40304b
lea ecx, [ebp - 0x1118]
push ecx
push 0x425a00
push 0x425a2c
call fcn.00405ef0
add esp, 0xc
cmp dword [ebp - 0x1548], 0
je 0x40302b
mov edx, dword [ebp - 0x1548]
push edx
call fcn.00407ad8
add esp, 4
cmp dword [ebp - 0x100c], 0
je 0x403043
mov eax, dword [ebp - 0x100c]
push eax
call fcn.00408609
add esp, 4
or eax, 0xffffffff
jmp 0x404268
cmp dword [ebp - 0x1548], 0
je 0x403063
mov ecx, dword [ebp - 0x1548]
push ecx
call fcn.00407ad8
add esp, 4
cmp dword [ebp - 0x100c], 0
je 0x40307b
mov edx, dword [ebp - 0x100c]
push edx
call fcn.00408609
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x53c]
push ecx
lea edx, [ebp - 0x1540]
push edx
push str._s._d
mov eax, dword [ebp + 8]
add eax, 0x334
push eax
call fcn.00407e60
add esp, 0x10
jmp 0x40411a
mov ecx, dword [ebp + 8]
add ecx, 0x334
push ecx
push 0x42e060
push 0x425a40
lea edx, [ebp - 0x1118]
push edx
call fcn.00407e60
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x334
push eax
push str.V__s
lea ecx, [ebp - 0x1540]
push ecx
call fcn.00407e60
add esp, 0xc
push 0x425a50
lea edx, [ebp - 0x1118]
push edx
call fcn.00408790
add esp, 8
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
jne 0x40312b
lea eax, [ebp - 0x1118]
push eax
push 0x425a54
push 0x425a80
call fcn.00405ef0
add esp, 0xc
or eax, 0xffffffff
jmp 0x404268
push 2
push 0
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.0040857b
add esp, 0xc
mov edx, dword [ebp - 0x100c]
push edx
call fcn.00408422
add esp, 4
mov dword [ebp - 0x1564], eax
mov eax, dword [ebp - 0x1564]
add eax, 0x17
push eax
call fcn.00407c0d
add esp, 4
mov dword [ebp - 0x1578], eax
cmp dword [ebp - 0x1578], 0
jne 0x40318e
push str.TestLicenseValide___:_Erreur_Malloc_pour_Modif_liste
push 0x425ac4
call fcn.00405ef0
add esp, 8
or eax, 0xffffffff
jmp 0x404268
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.004083cd
add esp, 4
mov edx, dword [ebp - 0x100c]
push edx
mov eax, dword [ebp - 0x1564]
push eax
push 1
mov ecx, dword [ebp - 0x1578]
push ecx
call fcn.004082e4
add esp, 0x10
cmp eax, dword [ebp - 0x1564]
je 0x403228
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x157c], eax
lea edx, [ebp - 0x1118]
push edx
mov eax, dword [ebp - 0x157c]
push eax
push str.TestLicenseValide___:_Erreur__d_fread_sur__s
push 0x425b00
call fcn.00405ef0
add esp, 0x10
cmp dword [ebp - 0x1578], 0
je 0x403208
mov ecx, dword [ebp - 0x1578]
push ecx
call fcn.00407ad8
add esp, 4
cmp dword [ebp - 0x100c], 0
je 0x403220
mov edx, dword [ebp - 0x100c]
push edx
call fcn.00408609
add esp, 4
or eax, 0xffffffff
jmp 0x404268
mov eax, dword [ebp - 0x1578]
add eax, 0x53
mov dword [ebp - 0x1560], eax
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 2]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 2]
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
add ecx, dword [ebp - 0x1578]
mov dword [ebp - 0x156c], ecx
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 0xa]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xa]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
mov eax, dword [ebp - 0x1578]
movzx ecx, word [eax + edx]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0xa]
shr edx, 8
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
mov ecx, dword [ebp - 0x1560]
movzx ecx, word [ecx + 0xa]
and ecx, 0xff
movzx ecx, cl
and ecx, 0xff
movzx ecx, cl
shl ecx, 8
or edx, ecx
movzx edx, dx
mov ecx, dword [ebp - 0x1578]
movzx edx, word [ecx + edx]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
mov dword [ebp - 0x155c], eax
mov ecx, dword [ebp - 0x155c]
add ecx, 1
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x155c]
add ecx, 1
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
movzx ecx, word [edx + 0xa]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx ecx, dl
mov edx, dword [ebp - 0x1560]
movzx edx, word [edx + 0xa]
and edx, 0xff
movzx edx, dl
and edx, 0xff
movzx edx, dl
shl edx, 8
or ecx, edx
movzx ecx, cx
mov edx, dword [ebp - 0x1578]
mov word [edx + ecx], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xa]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0xa]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, dword [ebp - 0x1578]
mov ecx, dword [ebp - 0x155c]
imul ecx, ecx, 0xf
lea edx, [eax + ecx + 2]
mov dword [ebp - 0x1558], edx
push 0xd
push str.OvlDemo.tif
mov eax, dword [ebp - 0x1558]
push eax
call fcn.004081c0
add esp, 0xc
mov ecx, dword [ebp - 0x1558]
mov word [ecx + 0xd], 0x100
push 0
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 0xc]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xc]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
push edx
mov eax, dword [ebp - 0x100c]
push eax
call fcn.0040857b
add esp, 0xc
mov ecx, dword [ebp - 0x100c]
push ecx
mov edx, dword [ebp - 0x1564]
push edx
push 1
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xc]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0xc]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
mov ecx, dword [ebp - 0x1578]
lea edx, [ecx + eax + 0xf]
push edx
call fcn.004082e4
add esp, 0x10
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1a]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1a]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
mov ecx, dword [ebp - 0x1578]
movzx edx, word [ecx + eax + 0xf]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 0x1a]
shr eax, 8
movzx edx, al
and edx, 0xff
movzx eax, dl
mov edx, dword [ebp - 0x1560]
movzx edx, word [edx + 0x1a]
and edx, 0xff
movzx edx, dl
and edx, 0xff
movzx edx, dl
shl edx, 8
or eax, edx
movzx eax, ax
mov edx, dword [ebp - 0x1578]
movzx eax, word [edx + eax + 0xf]
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
mov dword [ebp - 0x1574], ecx
mov edx, dword [ebp - 0x1574]
add edx, 1
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x1574]
add edx, 1
and edx, 0xff
movzx eax, dl
and eax, 0xff
movzx edx, al
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 0x1560]
movzx edx, word [eax + 0x1a]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx edx, al
mov eax, dword [ebp - 0x1560]
movzx eax, word [eax + 0x1a]
and eax, 0xff
movzx eax, al
and eax, 0xff
movzx eax, al
shl eax, 8
or edx, eax
movzx edx, dx
mov eax, dword [ebp - 0x1578]
mov word [eax + edx + 0xf], cx
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1a]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 0x1a]
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
add ecx, dword [ebp - 0x1578]
mov edx, dword [ebp - 0x1574]
lea eax, [ecx + edx*8 + 0x11]
mov dword [ebp - 0x1568], eax
mov ecx, dword [ebp - 0x156c]
movzx edx, word [ecx + 4]
shr edx, 8
movzx eax, dl
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 4]
and eax, 0xff
movzx edx, al
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
cmp ecx, 0xe10
jle 0x40376b
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 4]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x156c]
movzx ecx, word [eax + 4]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx eax, dx
sub eax, 0xe10
cdq
sub eax, edx
sar eax, 1
shr eax, 8
movzx edx, al
and edx, 0xff
movzx ecx, dl
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 4]
shr eax, 8
movzx edx, al
and edx, 0xff
movzx eax, dl
mov edx, dword [ebp - 0x156c]
movzx edx, word [edx + 4]
and edx, 0xff
movzx edx, dl
and edx, 0xff
movzx edx, dl
shl edx, 8
or eax, edx
movzx eax, ax
sub eax, 0xe10
cdq
sub eax, edx
sar eax, 1
and eax, 0xff
movzx eax, al
and eax, 0xff
movzx edx, al
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 0x1568]
mov word [eax], cx
jmp 0x403776
mov ecx, dword [ebp - 0x1568]
mov word [ecx], 0
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 2]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x156c]
movzx ecx, word [eax + 2]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
cmp edx, 0x12c0
jle 0x40387b
mov eax, dword [ebp - 0x156c]
movzx ecx, word [eax + 2]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x156c]
movzx edx, word [ecx + 2]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
sub eax, 0x12c0
cdq
sub eax, edx
sar eax, 1
shr eax, 8
movzx eax, al
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 2]
shr eax, 8
movzx edx, al
and edx, 0xff
movzx eax, dl
mov edx, dword [ebp - 0x156c]
movzx edx, word [edx + 2]
and edx, 0xff
movzx edx, dl
and edx, 0xff
movzx edx, dl
shl edx, 8
or eax, edx
movzx eax, ax
sub eax, 0x12c0
cdq
sub eax, edx
sar eax, 1
and eax, 0xff
movzx eax, al
and eax, 0xff
movzx edx, al
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 0x1568]
mov word [eax + 2], cx
jmp 0x403887
mov ecx, dword [ebp - 0x1568]
mov word [ecx + 2], 0
mov edx, dword [ebp - 0x156c]
movzx eax, word [edx + 2]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x156c]
movzx ecx, word [eax + 2]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
push edx
mov eax, dword [ebp - 0x156c]
movzx ecx, word [eax + 4]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x156c]
movzx edx, word [ecx + 4]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
push eax
push str.OVLDEMO2_Lp__d__Hp__d
push 0x425b30
call fcn.00405ef0
add esp, 0x10
mov ecx, dword [ebp - 0x1568]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x1568]
movzx ecx, word [eax]
push ecx
push str.OVLDEMO2_XOvl__d__YOvl__d
push 0x425b58
call fcn.00405ef0
add esp, 0x10
mov edx, dword [ebp - 0x1568]
mov word [edx + 4], 0x100
mov eax, dword [ebp - 0x155c]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x155c]
and eax, 0xff
movzx ecx, al
and ecx, 0xff
movzx eax, cl
shl eax, 8
or edx, eax
mov ecx, dword [ebp - 0x1568]
mov word [ecx + 6], dx
push 0
mov edx, dword [ebp - 0x1560]
movzx eax, word [edx + 0x1c]
shr eax, 8
movzx ecx, al
and ecx, 0xff
movzx edx, cl
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1c]
and ecx, 0xff
movzx eax, cl
and eax, 0xff
movzx ecx, al
shl ecx, 8
or edx, ecx
movzx edx, dx
push edx
mov eax, dword [ebp - 0x100c]
push eax
call fcn.0040857b
add esp, 0xc
mov ecx, dword [ebp - 0x100c]
push ecx
mov edx, dword [ebp - 0x1564]
push edx
push 1
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1c]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1c]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
mov ecx, dword [ebp - 0x1578]
lea edx, [ecx + eax + 0x17]
push edx
call fcn.004082e4
add esp, 0x10
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xc]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0xc]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0xf
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0xc], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0xe]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0xe]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0xf
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0xe], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x18]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x18]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0xf
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x18], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1a]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1a]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0xf
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x1a], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1c]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1c]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x1e]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x1e]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x20]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x20]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x22]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x22]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x24]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x24]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x26]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x26]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 0x1560]
movzx ecx, word [eax + 0x28]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1560]
movzx edx, word [ecx + 0x28]
and edx, 0xff
movzx ecx, dl
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
add eax, 0x17
mov dword [ebp - 0x1570], eax
mov ecx, dword [ebp - 0x1570]
shr ecx, 8
movzx edx, cl
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x1570]
and ecx, 0xff
movzx edx, cl
and edx, 0xff
movzx ecx, dl
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 0x1560]
mov word [edx + 0x28], ax
mov eax, dword [ebp - 0x100c]
push eax
call fcn.00408609
add esp, 4
lea ecx, [ebp - 0x1540]
push ecx
push 0x42e060
push 0x425b64
lea edx, [ebp - 0x1328]
push edx
call fcn.00407e60
add esp, 0x10
push 0x425b6c
lea eax, [ebp - 0x1328]
push eax
call fcn.00408790
add esp, 8
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
jne 0x404051
lea ecx, [ebp - 0x1328]
push ecx
push 0x425b70
push 0x425b9c
call fcn.00405ef0
add esp, 0xc
cmp dword [ebp - 0x1578], 0
je 0x404049
mov edx, dword [ebp - 0x1578]
push edx
call fcn.00407ad8
add esp, 4
or eax, 0xffffffff
jmp 0x404268
mov eax, dword [ebp - 0x100c]
push eax
mov ecx, dword [ebp - 0x1564]
add ecx, 0x17
push ecx
push 1
mov edx, dword [ebp - 0x1578]
push edx
call fcn.0040865f
add esp, 0x10
mov ecx, dword [ebp - 0x1564]
add ecx, 0x17
cmp eax, ecx
je 0x4040d1
lea edx, [ebp - 0x1328]
push edx
push 0x425ba8
push 0x425bd4
call fcn.00405ef0
add esp, 0xc
cmp dword [ebp - 0x1578], 0
je 0x4040b1
mov eax, dword [ebp - 0x1578]
push eax
call fcn.00407ad8
add esp, 4
cmp dword [ebp - 0x100c], 0
je 0x4040c9
mov ecx, dword [ebp - 0x100c]
push ecx
call fcn.00408609
add esp, 4
or eax, 0xffffffff
jmp 0x404268
cmp dword [ebp - 0x1578], 0
je 0x4040e9
mov edx, dword [ebp - 0x1578]
push edx
call fcn.00407ad8
add esp, 4
cmp dword [ebp - 0x100c], 0
je 0x404101
mov eax, dword [ebp - 0x100c]
push eax
call fcn.00408609
add esp, 4
lea ecx, [ebp - 0x1540]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x334
push edx
call fcn.004079e0
add esp, 8
lea eax, [ebp - 0x1438]
push eax
push 0x42fde0
call fcn.004079e0
add esp, 8
lea ecx, [ebp - 0x1220]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x334
push edx
push str.szGList
push str.IMPOS
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x404174
lea eax, [ebp - 0x1220]
push eax
push str.TestLicenseValide___:_Erreur_WritePrivateProfileString_sur__s
push 0x425c30
call fcn.00405ef0
add esp, 0xc
or eax, 0xffffffff
jmp 0x404268
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x53c]
push edx
push 0x42fba0
push 0x425c3c
lea eax, [ebp - 0x1328]
push eax
call fcn.00407e60
add esp, 0x10
push 0x425c54
lea ecx, [ebp - 0x1328]
push ecx
call fcn.00408790
add esp, 8
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
jne 0x4041db
lea edx, [ebp - 0x1328]
push edx
push str.TestLicenseValide___:_Erreur_fopen_sur__s
push 0x425c84
call fcn.00405ef0
add esp, 0xc
or eax, 0xffffffff
jmp 0x404268
mov eax, dword [ebp - 0x100c]
push eax
push 0x3d72
push 1
push 0x421400
call fcn.0040865f
add esp, 0x10
cmp eax, 0x3d72
je 0x404233
lea ecx, [ebp - 0x1328]
push ecx
push str.TestLicenseValide___:_Erreur_fwrite_sur__s
push 0x425cbc
call fcn.00405ef0
add esp, 0xc
cmp dword [ebp - 0x100c], 0
je 0x40422e
mov edx, dword [ebp - 0x100c]
push edx
call fcn.00408609
add esp, 4
or eax, 0xffffffff
jmp 0x404268
cmp dword [ebp - 0x100c], 0
je 0x40424b
mov eax, dword [ebp - 0x100c]
push eax
call fcn.00408609
add esp, 4
jmp 0x404266
mov ecx, dword [0x42e044]
push ecx
push str.CheckKey____Key_valid_for__d_day_s_
push 0x425cf0
call fcn.00405ef0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.00408089
mov esp, ebp
pop ebp
ret