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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x590609
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405130
xor eax, eax
push ebp
push 0x5908d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00404c80
mov ebx, esi
cmp ebx, 1
sbb ebx, ebx
neg ebx
test bl, bl
je 0x590688
mov al, byte [0x5908e8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x5908f4
mov edx, 0x590904
mov eax, dword [ebp - 4]
call fcn.0040f7a4
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405140
push eax
mov eax, dword [ebp - 4]
call fcn.00405140
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00404d18
neg bl
sbb ecx, ecx
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00590290
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0059019c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.0040a5a0
push dword [ebp - 0x68]
push 0x590914
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0040a6bc
push dword [ebp - 0x6c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405000
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0040a5a0
push dword [ebp - 0x70]
push 0x590914
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0040a6bc
mov eax, dword [ebp - 0x78]
mov ecx, 0x7fffffff
mov edx, 3
call fcn.004051a0
push dword [ebp - 0x74]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405000
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.0040a5a0
push dword [ebp - 0x7c]
push 0x590914
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.0040a6bc
mov eax, dword [ebp - 0x84]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.004051a0
push dword [ebp - 0x80]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405000
lea eax, [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405140
mov ebx, eax
push ebx
call sub.kernel32.dll_GetFileAttributesExA
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
push 3
push 0
push 0
push ebx
push 0x590918
push 0
call sub.shell32.dll_ShellExecuteA
cmp esi, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x5908aa
mov eax, dword [ebp - 8]
call fcn.0040a15c
test al, al
jne 0x5907ea
mov eax, dword [ebp - 0xc]
call fcn.0040a15c
test al, al
jne 0x5907ea
mov eax, dword [ebp - 0x10]
call fcn.0040a15c
test al, al
jne 0x5907ea
mov eax, dword [ebp - 0x14]
call fcn.0040a15c
test al, al
jne 0x5907ea
mov eax, 0x64
call fcn.0052a444
jmp 0x5907ae
mov eax, dword [ebp - 0xc]
call fcn.0040a15c
test al, al
je 0x590803
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404d18
jmp 0x590833
mov eax, dword [ebp - 0x10]
call fcn.0040a15c
test al, al
je 0x59081c
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d18
jmp 0x590833
mov eax, dword [ebp - 0x14]
call fcn.0040a15c
test al, al
je 0x590833
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404d18
mov eax, 0x64
call fcn.0052a444
mov eax, dword [ebp - 8]
call fcn.0040a15c
test al, al
je 0x590855
mov eax, 0x64
call fcn.0052a444
jmp 0x59083d
lea eax, [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405140
push eax
call sub.kernel32.dll_GetFileAttributesExA
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
mov ax, word [ebp - 0x5c]
cmp ax, word [ebp - 0x4c]
jne 0x5908a5
mov ax, word [ebp - 0x5a]
cmp ax, word [ebp - 0x4a]
jne 0x5908a5
mov ax, word [ebp - 0x58]
cmp ax, word [ebp - 0x48]
jne 0x5908a5
xor ebx, ebx
jmp 0x5908ac
or ebx, 0xffffffff
jmp 0x5908ac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5908de
lea eax, [ebp - 0x84]
mov edx, 8
call fcn.00404ca4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404ca4
ret