Function at 0x10037a74
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x10037ca0
push ebx
push edi
push dword [esi]
xor ebx, ebx
push ebx
push dword [esi + 4]
call fcn.10048f6d
push dword [esi + 4]
call fcn.1004fee7
xor edi, edi
mov dword [esi + 4], ebx
add esp, 0x10
inc edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], ebx
jmp 0x10037abb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x10037ab1
mov dword [ebp - 8], ebx
jmp 0x10037ad4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x10037ac6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 0xd
jge 0x10037c9c
mov eax, 0xc8748afa
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x3c], 0xe780ca9f
mov dword [ebp - 0x3c], 0x214a9bac
mov dword [ebp - 0x3c], 0x9e95d1c5
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 8], 9
mov dword [ebp - 0xc], 0xc4b7c700
mov dword [ebp - 0x3c], 0xffffffff
push edi
call fcn.10029e7b
mov dword [ebp - 0x34], 0xf230988a
mov dword [ebp - 8], ebx
jmp 0x10037b55
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x10037b45
mov dword [ebp - 8], ebx
jmp 0x10037b6d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x64], 0xefaadad2
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x10037b5f
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
jmp 0x10037c69
mov dword [ebp - 0x24], 0x525036ff
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x3c], 0x1d319d7f
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], ebx
jmp 0x10037baf
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x4c], 0x6b93dced
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x10037ba1
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x70]
add ecx, 0xf1540ee1
cmp ecx, eax
mov eax, dword [ebp - 0x58]
setne dl
mov dword [eax], edx
mov dword [ebp - 8], 0xfffffffe
jmp 0x10037c5c
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], 0xb566e66b
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0x5555d5df
mov dword [ebp - 0x24], 0x195b
mov eax, dword [ebp - 0x24]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10037c05
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
cmp eax, 0x80a71b66
setl cl
add ecx, dword [ebp - 0x60]
sub ecx, 5
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x40], ecx
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff3
jge 0x10037bd9
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x10037b7e
cmp dword [ebp - 0x58], ebx
je 0x10037c8a
push dword [ebp - 0x58]
call fcn.1004fee7
pop ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
inc dword [ebp - 0x10]
mov eax, 0xc8748afa
cmp dword [ebp - 0x10], 0xd
jl 0x10037af1
pop edi
mov dword [esi], ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret