Function at 0x4130dc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4130e4
push ecx
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x413566
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x38]
xor eax, eax
call fcn.00402cd0
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004076ac
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.004135f4
lea eax, [ebp - 0x10]
call fcn.00412fbc
lea edx, [ebp - 0x20]
mov eax, 0x41357c
call fcn.00413644
lea edx, [ebp - 0x24]
mov eax, 0x413590
call fcn.00413644
lea edx, [ebp - 0x28]
mov eax, 0x4135a8
call fcn.00413644
lea edx, [ebp - 0x2c]
mov eax, 0x4135b8
call fcn.00413644
lea edx, [ebp - 0x30]
mov eax, 0x4135d0
call fcn.00413644
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x3c]
call fcn.00407514
test al, al
je 0x413292
push 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x40fdac]
call fcn.00411de0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4131f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00402994
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00411cac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4131fa
mov eax, dword [ebp - 0x14]
call fcn.004033bc
ret
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x4c]
call fcn.00407514
test al, al
je 0x4132db
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x54]
pop edx
call fcn.00412a90
test al, al
je 0x4132db
mov bl, 1
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x58]
call fcn.00407514
test al, al
je 0x4133f4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FreeLibrary_1
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x60]
pop edx
call fcn.00412a90
test al, al
je 0x4133f4
mov bl, 1
mov eax, dword [0x414430]
cmp dword [eax], 5
jle 0x41339b
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x64]
call fcn.00407514
test al, al
jne 0x41339b
push 0
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x68]
call fcn.00404340
push eax
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x6c]
call fcn.00404340
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x414430]
cmp dword [eax], 6
jge 0x4133f4
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x70]
call fcn.00407514
test al, al
jne 0x4133f4
push 0
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x74]
call fcn.00404340
push eax
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x78]
call fcn.00404340
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x7c]
call fcn.00407514
test al, al
je 0x4134d5
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [0x414430]
cmp dword [eax], 5
jle 0x413499
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x84]
pop edx
call fcn.00412a90
test al, al
je 0x4134d5
mov bl, 1
push 1
push 0x4135e4
push dword [ebp - 0xc]
push dword [ebp - 0x20]
push 0x4135f0
xor eax, eax
mov al, byte [ebp - 5]
push dword [eax*4 + 0x414394]
lea eax, [ebp - 0x88]
mov edx, 5
call fcn.00404200
mov eax, dword [ebp - 0x88]
call fcn.00404340
push eax
call sub.kernel32.dll_WinExec
jmp 0x4134d5
mov al, byte [ebp - 5]
push eax
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00412b34
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov eax, dword [ebp - 0x94]
call fcn.00407514
test al, al
je 0x41353b
mov eax, dword [0x414430]
cmp dword [eax], 5
jle 0x41353b
mov al, byte [ebp - 5]
push eax
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.0040418c
mov eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040418c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00412b34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41356d
lea eax, [ebp - 0x9c]
mov edx, 0x20
call fcn.00403ec8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403ec8
ret