Function at 0x43c400
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517ef0
mov eax, dword fs:[0]
push eax
sub esp, 0xd74
mov eax, dword [0x572c40]
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.00483290
add esp, 0xc
lea ecx, [ebp - 0xd70]
call fcn.00445950
or esi, 0xffffffff
mov dword [ebp - 4], 0
cmp edi, 1
je 0x43c484
test edi, edi
jne 0x43c4ef
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push str.DeskSoftConfig
push 0
push eax
call fcn.00427790
push eax
push str._s._s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00407090
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.00431710
mov ebx, eax
add esp, 0x2c
mov dword [ebp - 0xd7c], ebx
test ebx, ebx
je 0x43ca08
cmp edi, 1
je 0x43c584
cmp edi, 2
je 0x43c502
cmp edi, 3
jne 0x43c78a
jmp 0x43c584
push 0
push 0x588
push 0
push 0xf009
mov ecx, 0xb657b8
call fcn.00427790
push eax
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push 0
push eax
call fcn.00427790
push eax
push dword [ebp - 0xd74]
push 0xb64288
call fcn.0042ebc0
add esp, 0x18
cmp eax, 6
jne 0x43ca08
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push str.DeskSoftConfig
push 0
push eax
call fcn.00427790
push eax
push 0xb649bc
push str._s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00407090
add esp, 0x18
cmp edi, 2
lea eax, [ebp - 0x114]
push 0
cmovne eax, ebx
push eax
call fcn.00448af0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43c663
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00483290
push 0xffffffffffffffff
push 0xb64d00
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048dea4
lea esi, [ebp - 0x218]
add esp, 0x1c
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x43c5e0
push dword [0xb643a0]
sub esi, ecx
mov eax, 0x104
push dword [0xb6439c]
inc esi
push dword [0xb64398]
sub eax, esi
push str._d._d._d
push eax
lea eax, [ebp - 0x218]
add eax, esi
push eax
call fcn.00407090
add esp, 0x18
add esi, eax
lea eax, [ebp - 0x218]
mov ecx, 0xb657b8
push esi
push eax
movzx eax, word [0xb64290]
push 0
push eax
call fcn.00427790
push eax
push ebx
call fcn.004490a0
add esp, 0x10
test eax, eax
je 0x43c688
push ebx
call fcn.0044cbd0
add esp, 4
push ebx
test al, al
je 0x43c65b
call fcn.0044c160
jmp 0x43c660
call fcn.00448a00
add esp, 4
mov esi, 2
cmp edi, 3
je 0x43ca0d
cmp esi, 2
jne 0x43c9c0
push 0
push 0x111
push 1
jmp 0x43c9ce
cmp edi, 1
je 0x43c6b7
cmp edi, 3
je 0x43c6b7
push 0x51d9b4
push str.DeskSoftLicense
push str.._s_._s
lea eax, [ebp - 0xd70]
push 0xb649bc
push eax
call fcn.00446170
add esp, 0x14
jmp 0x43c6f9
cmp byte [0xb64e04], 0
mov ecx, 0x51984f
push 0xb64e04
mov eax, 0x51da20
cmove eax, ecx
push eax
push 0x51d668
push 0x51d9b4
push str.DeskSoftLicense
push str.._s_._s_._s_s_s
lea eax, [ebp - 0xd70]
push 0xb649bc
push eax
call fcn.00446170
add esp, 0x20
cmp dword [ebp - 0x240], 0
mov dword [ebp - 0xd78], 0
jle 0x43c764
xor edi, edi
xor esi, esi
mov ecx, 0xb649bc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c718
mov eax, dword [ebp - 0x23c]
sub ecx, edx
add eax, edi
inc ecx
push eax
add eax, ecx
push eax
push ebx
call fcn.00449050
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 0x43c710
mov edi, dword [ebp - 0xd80]
jmp 0x43c766
xor esi, esi
push ebx
call fcn.0044cbd0
add esp, 4
push ebx
test al, al
je 0x43c77b
call fcn.0044c160
jmp 0x43c780
call fcn.00448a00
add esp, 4
neg esi
sbb esi, esi
and esi, 5
test edi, edi
jne 0x43c668
mov ebx, dword [ebp - 0xd7c]
push 0x5c
push ebx
call fcn.004833f0
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 0x43c7b2
sub ecx, edx
lea eax, [ebx - 0xf]
add eax, ecx
push str.DeskSoftLicense
push eax
call fcn.00484da1
add esp, 8
test eax, eax
jne 0x43c7f1
push esi
push 0xb649bc
push 0x51d310
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00407090
add esp, 0x14
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c7f6
sub ecx, edx
lea eax, [ebx - 3]
add eax, ecx
push 0x51d9b4
push eax
call fcn.00484da1
add esp, 8
test eax, eax
jne 0x43c863
push esi
push 0xb649bc
push 0x51d310
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00407090
lea eax, [ebp - 0x114]
push 0x2e
push eax
call fcn.004833f0
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x43c9b0
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push str.DeskSoftLicense
sub eax, ecx
push eax
push ecx
call fcn.0048dea4
add esp, 0x10
cmp byte [ebp - 0x114], 0
push 0
je 0x43c88b
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x43c9b0
xor esi, esi
jmp 0x43ca0d
push ebx
call fcn.0044cda0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43c8a2
lea esi, [eax + 2]
jmp 0x43ca0d
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push 0
push 0
push 0
push 0
push eax
call fcn.00427790
push eax
push esi
call fcn.0044c360
add esp, 0x14
push esi
test eax, eax
je 0x43c8fa
call fcn.0044cbd0
add esp, 4
push esi
test al, al
je 0x43c8df
call fcn.0044c160
jmp 0x43c8e4
call fcn.00448a00
add esp, 4
mov esi, 4
push 0
push 0x111
push 3
jmp 0x43c9ce
call fcn.0044cbd0
add esp, 4
push esi
test al, al
je 0x43c90e
call fcn.0044c160
jmp 0x43c913
call fcn.00448a00
add esp, 4
mov ecx, 0xb657b8
push 0
push 0x588
push 0
push 0xf009
call fcn.00427790
push eax
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push 0
push eax
call fcn.00427790
push eax
push dword [ebp - 0xd74]
push 0xb64288
call fcn.0042ebc0
add esp, 0x18
cmp eax, 6
jne 0x43ca08
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push str.DeskSoftConfig
push 0
push eax
call fcn.00427790
push eax
push 0xb649bc
push str._s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00407090
add esp, 0x18
lea eax, [ebp - 0x114]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x43c884
push 0
push 0x111
mov esi, 3
push 2
jmp 0x43c9ce
cmp esi, 5
jne 0x43ca0d
push 0
push 0x111
push 4
push 0xf009
mov ecx, 0xb657b8
call fcn.00427790
push eax
movzx eax, word [0xb64290]
mov ecx, 0xb657b8
push 0
push eax
call fcn.00427790
push eax
push dword [ebp - 0xd74]
push 0xb64288
call fcn.0042ebc0
add esp, 0x18
jmp 0x43ca0d
mov esi, 1
lea ecx, [ebp - 0xd70]
call fcn.00445b30
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.00481761
mov esp, ebp
pop ebp
ret