Function at 0x424454
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x42445c
push ecx
push ebx
xor eax, eax
push ebp
push 0x4246d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4246e8
call fcn.004146bc
lea edx, [ebp - 0x10]
mov eax, 0x424710
call fcn.0040d5b4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x424720
call fcn.00404848
pop edx
call fcn.00404848
call fcn.004030b0
mov eax, dword [0x427e50]
cmp byte [eax], 0
je 0x4246a2
call fcn.00424084
test al, al
je 0x4244ed
lea edx, [ebp - 0x14]
mov eax, 0x424710
call fcn.0040d5b4
mov eax, dword [ebp - 0x14]
mov edx, 0x424740
call fcn.00404578
jne 0x4246a2
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00407314
lea edx, [ebp - 0x1c]
mov eax, dword [0x427de4]
mov eax, dword [eax]
call fcn.00415aa8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0040c6f0
test al, al
je 0x4246a2
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x42474c
call fcn.00404848
call fcn.004030b0
push 0
push 0
mov eax, 0x42476c
call fcn.0040d794
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x42477c
call fcn.00407a54
mov eax, dword [ebp - 0x20]
call fcn.004146bc
imul eax, ebx, 0x3e8
xor edx, edx
call fcn.0040c0b4
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040728c
push dword [ebp - 0x2c]
push 0x424790
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004044ec
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040462c
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402820
mov eax, dword [ebp - 0x34]
call fcn.0040462c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, 0x42479c
call fcn.004146bc
lea eax, [ebp - 4]
call fcn.00404188
lea edx, [ebp - 8]
mov eax, 0x4247b4
call fcn.0040d5b4
cmp dword [ebp - 8], 0
je 0x42460a
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x4247c8
call fcn.00404478
lea edx, [ebp - 8]
mov eax, 0x4247e0
call fcn.0040d5b4
cmp dword [ebp - 8], 0
je 0x42462d
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x4247f0
call fcn.00404478
push 0x424804
push dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x38]
call fcn.004146bc
push 0
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404478
mov eax, dword [ebp - 0x3c]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
call fcn.004027c0
test eax, eax
jle 0x4246a2
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
add ebx, 0xbb8
xor edx, edx
mov eax, 0xc8
call fcn.0040c0b4
mov eax, dword [ebp - 0xc]
call fcn.0041e99c
test al, al
jne 0x4246a2
call sub.kernel32.dll_GetTickCount_1
cmp ebx, eax
jae 0x424681
mov eax, 0x424818
call fcn.004146bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4246db
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004041ac
ret