Function at 0x42e130
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fef0
mov eax, dword fs:[0]
push eax
sub esp, 0xd74
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x103
mov dword [ebp - 0xd74], eax
lea eax, [ebp - 0x113]
push 0
push eax
mov dword [ebp - 0xd80], edi
mov dword [ebp - 0xd7c], ebx
mov byte [ebp - 0x114], 0
call fcn.004def40
add esp, 0xc
lea ecx, [ebp - 0xd70]
call fcn.0043fa70
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp edi, 1
je 0x42e1b4
test edi, edi
jne 0x42e21f
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push str.DeskSoftConfig
push 0
push eax
call fcn.0042ca60
push eax
push str._s._s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004061a0
lea eax, [ebp - 0x218]
push eax
push 0
xor eax, eax
test edi, edi
push 0
push 0
setne al
push str.DeskSoft_Configuration_Data
push eax
call fcn.00418680
mov ebx, eax
add esp, 0x2c
mov dword [ebp - 0xd7c], ebx
test ebx, ebx
je 0x42e738
cmp edi, 1
je 0x42e2b4
cmp edi, 2
je 0x42e232
cmp edi, 3
jne 0x42e4ba
jmp 0x42e2b4
push 0
push 0x588
push 0
push 0xf009
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push dword [ebp - 0xd74]
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x18
cmp eax, 6
jne 0x42e738
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push str.DeskSoftConfig
push 0
push eax
call fcn.0042ca60
push eax
push 0x6efa24
push str._s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004061a0
add esp, 0x18
cmp edi, 2
lea eax, [ebp - 0x114]
push 0
cmovne eax, ebx
push eax
call fcn.00420b60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42e393
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004def40
push 0xffffffffffffffff
push 0x6efd68
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e72b5
lea esi, [ebp - 0x218]
add esp, 0x1c
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x42e310
push dword [0x6ef408]
sub esi, ecx
mov eax, 0x104
push dword [0x6ef404]
inc esi
push dword [0x6ef400]
sub eax, esi
push str._d._d._d
push eax
lea eax, [ebp - 0x218]
add eax, esi
push eax
call fcn.004061a0
add esp, 0x18
add esi, eax
lea eax, [ebp - 0x218]
mov ecx, 0x6f0820
push esi
push eax
movzx eax, word [0x6ef2f8]
push 0
push eax
call fcn.0042ca60
push eax
push ebx
call fcn.00421110
add esp, 0x10
test eax, eax
je 0x42e3b8
push ebx
call fcn.0041ba30
add esp, 4
push ebx
test al, al
je 0x42e38b
call fcn.0041afc0
jmp 0x42e390
call fcn.00420a70
add esp, 4
mov esi, 2
cmp edi, 3
je 0x42e73d
cmp esi, 2
jne 0x42e6f0
push 0
push 0x111
push 1
jmp 0x42e6fe
cmp edi, 1
je 0x42e3e7
cmp edi, 3
je 0x42e3e7
push 0x584af4
push str.DeskSoftLicense
push str.._s_._s
lea eax, [ebp - 0xd70]
push 0x6efa24
push eax
call fcn.00440290
add esp, 0x14
jmp 0x42e429
cmp byte [0x6efe6c], 0
mov ecx, 0x5f53ae
push 0x6efe6c
mov eax, 0x5f5ae4
cmove eax, ecx
push eax
push 0x581778
push 0x584af4
push str.DeskSoftLicense
push str.._s_._s_._s_s_s
lea eax, [ebp - 0xd70]
push 0x6efa24
push eax
call fcn.00440290
add esp, 0x20
cmp dword [ebp - 0x240], 0
mov dword [ebp - 0xd78], 0
jle 0x42e494
xor edi, edi
xor esi, esi
mov ecx, 0x6efa24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e448
mov eax, dword [ebp - 0x23c]
sub ecx, edx
add eax, edi
inc ecx
push eax
add eax, ecx
push eax
push ebx
call fcn.004210c0
add esp, 0xc
lea ecx, [esi + 1]
test eax, eax
mov eax, dword [ebp - 0xd78]
cmove ecx, esi
inc eax
add edi, 0x104
mov dword [ebp - 0xd78], eax
mov esi, ecx
cmp eax, dword [ebp - 0x240]
jl 0x42e440
mov edi, dword [ebp - 0xd80]
jmp 0x42e496
xor esi, esi
push ebx
call fcn.0041ba30
add esp, 4
push ebx
test al, al
je 0x42e4ab
call fcn.0041afc0
jmp 0x42e4b0
call fcn.00420a70
add esp, 4
neg esi
sbb esi, esi
and esi, 5
test edi, edi
jne 0x42e398
mov ebx, dword [ebp - 0xd7c]
push 0x5c
push ebx
call fcn.004de810
add esp, 8
mov esi, ebx
test eax, eax
lea ecx, [eax + 1]
cmovne esi, ecx
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e4e2
sub ecx, edx
lea eax, [ebx - 0xf]
add eax, ecx
push str.DeskSoftLicense
push eax
call fcn.004e2ae3
add esp, 8
test eax, eax
jne 0x42e521
push esi
push 0x6efa24
push str._s_s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004061a0
add esp, 0x14
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e526
sub ecx, edx
lea eax, [ebx - 3]
add eax, ecx
push 0x584af4
push eax
call fcn.004e2ae3
add esp, 8
test eax, eax
jne 0x42e593
push esi
push 0x6efa24
push str._s_s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004061a0
lea eax, [ebp - 0x114]
push 0x2e
push eax
call fcn.004de810
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x42e6e0
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push str.DeskSoftLicense
sub eax, ecx
push eax
push ecx
call fcn.004e72b5
add esp, 0x10
cmp byte [ebp - 0x114], 0
push 0
je 0x42e5bb
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x42e6e0
xor esi, esi
jmp 0x42e73d
push ebx
call fcn.0041bc00
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e5d2
lea esi, [eax + 2]
jmp 0x42e73d
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push 0
push 0
push 0
push eax
call fcn.0042ca60
push eax
push esi
call fcn.0041b1c0
add esp, 0x14
push esi
test eax, eax
je 0x42e62a
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x42e60f
call fcn.0041afc0
jmp 0x42e614
call fcn.00420a70
add esp, 4
mov esi, 4
push 0
push 0x111
push 3
jmp 0x42e6fe
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x42e63e
call fcn.0041afc0
jmp 0x42e643
call fcn.00420a70
add esp, 4
mov ecx, 0x6f0820
push 0
push 0x588
push 0
push 0xf009
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push dword [ebp - 0xd74]
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x18
cmp eax, 6
jne 0x42e738
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push str.DeskSoftConfig
push 0
push eax
call fcn.0042ca60
push eax
push 0x6efa24
push str._s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004061a0
add esp, 0x18
lea eax, [ebp - 0x114]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42e5b4
push 0
push 0x111
mov esi, 3
push 2
jmp 0x42e6fe
cmp esi, 5
jne 0x42e73d
push 0
push 0x111
push 4
push 0xf009
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push dword [ebp - 0xd74]
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x18
jmp 0x42e73d
mov esi, 1
lea ecx, [ebp - 0xd70]
call fcn.0043fc50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret