Function at 0x423e3c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x423e45
mov eax, dword [ebp - 4]
add esp, 0xfffffe90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x8174], edx
mov dword [ebp - 0x8170], edx
mov dword [ebp - 0x8168], edx
mov dword [ebp - 0x816c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x424110
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x8168]
call fcn.00406970
push dword [ebp - 0x8168]
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x816c]
call fcn.00406cac
push dword [ebp - 0x816c]
push 0x424128
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00402d20
xor eax, eax
push ebp
push 0x423fa2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x160]
call fcn.00401820
mov edx, 1
lea eax, [ebp - 0x160]
call fcn.00401e60
call fcn.004012c0
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x423f7e
lea edx, [ebp - 0x8161]
mov ecx, 0x8001
mov eax, dword [ebp - 4]
call fcn.00408c14
mov esi, eax
add dword [ebp - 8], esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00402fe0
lea eax, [ebp - 0x14]
call fcn.00402eac
lea edx, [ebp - 0x8161]
mov ecx, esi
call fcn.004045ac
lea ecx, [ebp - 0x8170]
mov edx, 0x424138
mov eax, dword [ebp - 0x14]
call fcn.00406dd0
mov edx, dword [ebp - 0x8170]
lea eax, [ebp - 0x14]
call fcn.00402a7c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00402eac
mov edx, eax
mov ecx, esi
lea eax, [ebp - 0x160]
call fcn.00401998
call fcn.004012c0
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [ebp + 0xc]
jne 0x423f92
cmp eax, dword [ebp + 8]
jb 0x423f03
jmp 0x423f98
jl 0x423f03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423feb
test bl, bl
jne 0x4240e5
lea eax, [ebp - 0x160]
call fcn.004019b8
call fcn.004012c0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 0
je 0x424014
mov eax, dword [ebp - 4]
call fcn.00408af0
mov eax, dword [ebp - 4]
call fcn.004021bc
mov eax, dword [0x4273e8]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jne 0x4240af
mov eax, dword [0x427494]
mov eax, dword [eax]
call fcn.00402e58
mov edx, eax
lea eax, [ebp - 0x8174]
call fcn.00402bd0
mov eax, dword [ebp - 0x8174]
call fcn.00405e60
push 0
mov eax, dword [0x427494]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 0x10]
call fcn.00402e58
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x427630]
cmp byte [eax], 1
jne 0x424083
mov eax, dword [0x427494]
mov eax, dword [eax]
call fcn.004056f0
mov eax, dword [0x427488]
cmp byte [eax], 1
jne 0x424099
mov eax, dword [0x427494]
mov eax, dword [eax]
call fcn.00405598
mov eax, dword [0x427494]
mov eax, dword [eax]
call fcn.0040a7a4
mov edx, dword [0x42743c]
mov byte [edx], al
jmp 0x4240b7
mov eax, dword [0x42743c]
mov byte [eax], 0
mov eax, dword [0x42743c]
cmp byte [eax], 1
jne 0x4240d4
mov eax, dword [0x427470]
mov eax, dword [eax]
mov edx, 0x424144
call fcn.004154fc
jmp 0x4240e5
mov eax, dword [0x427470]
mov eax, dword [eax]
mov edx, 0x424160
call fcn.004154fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424117
lea eax, [ebp - 0x8174]
mov edx, 4
call fcn.00402a08
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00402a08
ret