Function at 0x10009bb7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, dword [eax]
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
mov eax, dword [eax]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
cmp eax, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], edi
jbe 0x10009d5b
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
add ecx, 0x20
mov dword [ebp + 0x14], ecx
push esi
push esi
push dword [ebp - 8]
push dword [ebp + 0x14]
call fcn.10011478
test eax, eax
jge 0x10009d4b
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ebx, eax
je 0x10009c34
push dword [ebp + 0x14]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
test eax, eax
pop ecx
je 0x10009c16
mov ebx, dword [ebx]
jmp 0x10009c16
mov eax, dword [ebp + 0x14]
lea ebx, [eax]
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x24], ebx
call dword [fcn.10013be7]
movzx eax, word [ebp - 0x34]
shr eax, 1
je 0x10009c63
cmp word [ebx + eax*2 - 2], 0x5c
jne 0x10009c63
mov word [ebx + eax*2 - 2], di
dec eax
add word [ebp - 0x34], 0xfffe
cmp ebx, edi
je 0x10009d4b
cmp eax, edi
jbe 0x10009d4b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10002fcd
cmp eax, edi
jl 0x10009d4b
cmp dword [ebp - 0x14], edi
je 0x10009d4b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.10005e3b
cmp eax, edi
jbe 0x10009d42
mov ebx, esi
mov ecx, dword [ebp - 0xc]
imul ebx, ebx, 0x328
add ebx, dword [ebp - 8]
add ecx, 8
dec eax
mov dword [ebp + 0x10], ecx
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0x1a
jae 0x10009cd5
inc dword [ebp - 4]
mov ecx, ebx
add ebx, 0x328
jmp 0x10009d06
push 0x330
push 8
push dword [0x10032058]
call dword [fcn.10013be7]
test eax, eax
je 0x10009d04
mov edx, dword [ebp - 0x28]
inc dword [ebp - 0x10]
lea esi, [ebp - 0x2c]
mov dword [eax + 4], edx
mov dword [eax], esi
mov dword [edx], eax
lea ecx, [eax + 8]
mov dword [ebp - 0x28], eax
jmp 0x10009d06
xor ecx, ecx
test ecx, ecx
je 0x10009d38
mov eax, dword [ebp + 0x10]
lea edi, [ecx + 8]
mov esi, fcn.10004605
push dword [ebp - 0x24]
mov ax, word [eax]
mov word [ecx], 0xff
mov word [ecx + 2], ax
add ecx, 0x20
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [fcn.1001396c]
add dword [ebp + 0x10], 0x18
pop ecx
pop ecx
dec dword [ebp - 0x18]
jne 0x10009cc2
mov esi, dword [ebp - 4]
xor edi, edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add dword [ebp + 0x14], 0x328
dec dword [ebp - 0x1c]
jne 0x10009bfe
cmp dword [ebp - 0xc], edi
je 0x10009d70
push dword [ebp - 0xc]
push edi
push dword [0x10032058]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x2c], eax
je 0x10009e10
cmp dword [ebp - 0x10], edi
jbe 0x10009e10
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add eax, esi
imul eax, eax, 0x328
push eax
push ebx
push 8
push dword [0x10032058]
call dword [pe_dos_header]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x10009dc2
push ebx
push edi
push dword [0x10032058]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0xe
mov dword [eax], edi
pop eax
jmp 0x10009e1f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ebx, eax
je 0x10009e10
mov eax, esi
imul eax, eax, 0x328
add eax, dword [ebp - 8]
jmp 0x10009ddc
mov eax, dword [ebp + 0x14]
mov edi, eax
add eax, 0x328
inc dword [ebp - 4]
mov dword [ebp + 0x14], eax
mov eax, ebx
lea esi, [ebx + 8]
mov ecx, 0xca
push eax
push 0
rep movsd dword es:[edi], dword [esi]
push dword [0x10032058]
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
cmp ebx, eax
jne 0x10009dd9
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10