Function at 0x458f40
Capabilities:
Accept command line arguments
Allocate thread local storage
Check mutex and terminate process on windows
Check mutex on windows
Clear file content
Create pipe
Create process on windows
Create thread
Delete file
Enumerate files on windows
Get file attributes
Get thread local storage value
Set environment variable
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x60], 0x197
mov dword [ebp - 0x68], 0xcb
mov dword [ebp - 0x14], 0x140
mov dword [ebp - 0x64], 0x13d
mov dword [ebp - 0x30], 0x28b
mov dword [ebp - 0x6c], 0x226
mov dword [ebp - 0x5c], 0x322
mov dword [ebp - 0x38], 0xc8
mov dword [ebp - 0x40], 0x3ac
mov dword [ebp - 0x34], 0x28a
mov dword [ebp - 0x44], 0x2fc
mov dword [ebp - 0xc], 0x230
mov dword [ebp - 0x28], 0x228
mov dword [ebp - 0x1c], 0x1e0
mov dword [ebp - 0x20], 0x26f
mov dword [ebp - 0x10], 0x2cd
mov dword [ebp - 0x48], 0x13b
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 8], 0xfc
mov dword [ebp - 0x24], 0x3a
mov dword [ebp - 0x4c], 0x208
mov dword [ebp - 0x3c], 0xd5
mov dword [ebp - 0x18], 0x18
mov dword [ebp - 4], 0x3c7
mov dword [ebp - 0x2c], 0x85
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
add ecx, 0x5f
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x29c
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 0x23e
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18c
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
sub edx, 0x229
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
sub eax, 0x154
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x36d
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
add edx, 0xd4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040b4b0
add esp, 0x20
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x4c]
sub edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0xc]
sub eax, 0x18a
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00412f10
add esp, 4
push 0x2970
push 0xdb4c
push 0x8146
push 0x381d
push 0xc7c2
call section..text
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4980ac], eax
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2c]
jge 0x4590fa
mov dword [ebp - 0x50], 1
jmp 0x459101
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x48]
jge 0x459112
mov dword [ebp - 0x54], 1
jmp 0x459119
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x64]
and ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 4]
jge 0x45912d
mov dword [ebp - 0x58], 1
jmp 0x459134
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x54]
and edx, dword [ebp - 0x58]
je 0x459148
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4980c0]
push ecx
mov edx, dword [0x4980b0]
push edx
mov eax, dword [0x4980bc]
push eax
mov ecx, dword [0x4980a8]
push ecx
mov edx, dword [0x4980ac]
push edx
push 0x496b38
mov eax, dword [0x4980ac]
push eax
call fcn.0045a130
add esp, 8
call eax
test eax, eax
je 0x45a11c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x5c]
sub edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0x87
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 0x1c2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x257
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
add edx, 0x235
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x12c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x24f
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
add edx, 0x289
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
sub eax, 0x1b9
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00403b40
add esp, 0x20
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x60]
sub ecx, 1
mov dword [ebp - 0x60], ecx
mov esp, ebp
pop ebp
ret