Function at 0x4127dc
Capabilities:
Accept command line arguments
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4127e4
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x412dcb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.00404e90
mov eax, dword [ebp - 0x20]
mov edx, 0x412de4
call fcn.004036d4
jne 0x41282b
push 1
push 0x412dec
call sub.kernel32.dll_WinExec
call fcn.00403318
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00404e90
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
call fcn.0040a284
lea edx, [ebp - 0x28]
mov eax, 1
call fcn.00404e90
mov eax, dword [ebp - 0x28]
mov edx, 0x412e00
call fcn.004036d4
je 0x41292a
push 0
lea eax, [ebp - 0x2c]
call fcn.0040a2a0
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00403590
mov eax, dword [ebp - 0x2c]
call fcn.00403788
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00404e90
mov eax, dword [ebp - 0x30]
call fcn.00403788
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 8]
call fcn.00403410
call fcn.0040a1e0
mov esi, eax
test esi, esi
jle 0x4128d4
mov ebx, 1
push dword [ebp - 8]
push 0x412e0c
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00404e90
push dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403648
inc ebx
dec esi
jne 0x4128ae
push 1
lea eax, [ebp - 0x38]
call fcn.0040a2a0
mov eax, dword [ebp - 0x38]
call fcn.00403788
push eax
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov edx, 0x412e18
call fcn.004035d4
mov eax, dword [ebp - 0x3c]
call fcn.00403788
push eax
lea eax, [ebp - 0x40]
call fcn.0040a2a0
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
call fcn.00403590
mov eax, dword [ebp - 0x40]
call fcn.00403788
push eax
push 0
push 0
call fcn.0040a92c
call fcn.00403318
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.00404e90
mov eax, dword [ebp - 0x44]
call fcn.00407b9c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov cl, 2
mov edx, 0xfffffffe
call fcn.0040529c
lea edx, [ebp - 0x16]
mov eax, dword [ebp - 0xc]
mov ecx, 2
call fcn.00405294
movzx edx, word [ebp - 0x16]
neg edx
sub edx, 2
mov eax, dword [ebp - 0xc]
mov cl, 2
call fcn.0040529c
movzx edx, word [ebp - 0x16]
mov eax, 0x417fdc
call fcn.004038b8
mov eax, 0x417fdc
call fcn.004037e0
mov edx, eax
movzx ecx, word [ebp - 0x16]
mov eax, dword [ebp - 0xc]
call fcn.00405294
mov eax, dword [0x417fdc]
call fcn.0040a230
test al, al
jne 0x4129aa
call fcn.00403318
lea edx, [ebp - 0x48]
mov eax, dword [0x417fdc]
call fcn.0040a284
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
call fcn.0040a2a0
mov edx, dword [ebp - 0x4c]
mov eax, 0x417fe0
pop ecx
call fcn.004035d4
push 0
mov eax, dword [0x417fe0]
call fcn.00403788
push eax
mov eax, dword [0x417fdc]
call fcn.00403788
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x417fe0]
call fcn.00405508
mov dword [0x417fd8], eax
mov eax, dword [0x417fd8]
add eax, 0x1d
mov edx, 0x412e28
call fcn.00403464
push 0x34
mov eax, 0x417fcc
mov ecx, 1
mov edx, dword [0x411b50]
call fcn.00403eb8
add esp, 4
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.0040a13c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x417fd8]
xor ecx, ecx
call fcn.00405450
mov edx, dword [ebp - 0x50]
mov eax, dword [0x417fcc]
lea eax, [eax + ebx*4]
call fcn.00403464
inc ebx
cmp ebx, 0x34
jne 0x412a2b
mov eax, 0x21
call fcn.00412230
mov byte [0x416b08], al
call fcn.0040a1e0
mov esi, eax
test esi, esi
jle 0x412aac
mov ebx, 1
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.00404e90
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00407aec
mov eax, dword [ebp - 0x58]
mov edx, 0x412e34
call fcn.004036d4
jne 0x412aa8
mov byte [0x416b08], 1
inc ebx
dec esi
jne 0x412a7d
cmp byte [0x416b08], 0
je 0x412abf
mov eax, dword [edi + 0x18]
xor edx, edx
call fcn.0040866c
cmp byte [0x416b08], 0
jne 0x412b85
mov eax, 0x1f
call fcn.00412230
test al, al
je 0x412b85
movzx edx, word [ebp - 0x16]
neg edx
sub edx, 6
mov eax, dword [ebp - 0xc]
mov cl, 2
call fcn.0040529c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, 4
call fcn.00405294
mov edx, dword [ebp - 0x14]
neg edx
movzx eax, word [ebp - 0x16]
sub edx, eax
sub edx, 6
mov eax, dword [ebp - 0xc]
mov cl, 2
call fcn.0040529c
call fcn.004053f0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00412360
mov eax, dword [ebp - 0x10]
xor ecx, ecx
xor edx, edx
call fcn.0040529c
mov eax, 0x22
call fcn.00412230
test al, al
je 0x412b62
call fcn.00410778
mov dword [0x417fd4], eax
mov eax, dword [0x417fd4]
mov edx, dword [ebp - 0x10]
call fcn.004110dc
jmp 0x412b7d
xor edx, edx
xor eax, eax
call fcn.0040925c
mov dword [0x417fd0], eax
mov eax, dword [0x417fd0]
mov edx, dword [ebp - 0x10]
call fcn.00406874
mov eax, dword [ebp - 0x10]
call fcn.0040738c
mov eax, dword [ebp - 0xc]
call fcn.0040738c
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x60]
mov eax, dword [edi + 0x18]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x60]
mov eax, dword [0x416b10]
mov eax, dword [eax]
call fcn.004085e8
cmp byte [0x416b08], 0
jne 0x412ce2
mov eax, dword [0x417fcc]
mov edx, dword [eax]
mov eax, dword [edi + 0x2c]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x5c]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 8]
mov eax, dword [edi + 0x30]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x48]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 0x4c]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x38]
mov eax, dword [edi + 0x58]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x3c]
mov eax, dword [edi + 0x54]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x44]
mov eax, dword [edi + 0x64]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x48]
mov eax, dword [edi + 0x28]
call fcn.004085e8
mov eax, 0x1c
call fcn.00412230
mov edx, eax
mov eax, dword [edi + 0x68]
call fcn.0040866c
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x78]
mov eax, dword [edi + 0x68]
call fcn.004085e8
mov eax, dword [edi + 0x68]
mov edx, 0x8000000f
call fcn.004089f0
mov eax, 0x30
call fcn.00412258
mov edx, eax
mov eax, dword [edi + 0x48]
call fcn.00408948
mov eax, 0x31
call fcn.00412258
mov edx, eax
mov eax, dword [edi + 0x48]
call fcn.00408978
mov eax, 0x32
call fcn.00412258
mov edx, eax
mov eax, dword [edi + 0x4c]
call fcn.00408948
mov eax, 0x33
call fcn.00412258
mov edx, eax
mov eax, dword [edi + 0x4c]
call fcn.00408978
mov eax, 0x14
call fcn.00412258
mov edx, eax
mov eax, dword [edi + 0x3c]
call fcn.004089f0
xor ebx, ebx
mov esi, 0x417fec
mov eax, ebx
cmp eax, 7
ja case.default.0x412cf0
jmp dword [eax*4 + 0x412cf7]
xor eax, eax
mov dword [ebp - 4], eax
jmp case.default.0x412cf0
mov dword [ebp - 4], 2
jmp case.default.0x412cf0
mov dword [ebp - 4], 0xb
jmp case.default.0x412cf0
mov dword [ebp - 4], 7
jmp case.default.0x412cf0
mov dword [ebp - 4], 0x19
jmp case.default.0x412cf0
mov dword [ebp - 4], 0x17
jmp case.default.0x412cf0
mov dword [ebp - 4], 0x16
jmp case.default.0x412cf0
mov dword [ebp - 4], 0x18
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00412268
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00404fe8
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00407aec
mov edx, dword [ebp - 0x60]
mov eax, esi
call fcn.00403464
inc ebx
add esi, 4
cmp ebx, 8
jne 0x412ce9
cmp byte [0x416b08], 0
je 0x412da8
mov eax, edi
call fcn.00413520
call fcn.00403318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412dd2
lea eax, [ebp - 0x68]
mov edx, 0x14
call fcn.00403434
lea eax, [ebp - 8]
call fcn.00403410
ret