Function at 0x100587d
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push dword [0x1008088]
call esi
push 0x10035d8
call esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call esi
push 0x10035d4
call esi
mov ecx, dword [0x1008088]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10058b1
push ecx
sub eax, esi
push 0x10035c8
lea edi, [eax + 7]
call fcn.01003aec
push 0x1003580
call fcn.01003aec
mov esi, str.
push esi
push edi
push 0x100354c
call fcn.01003aec
push esi
push edi
push 0x1003508
call fcn.01003aec
push esi
push edi
push 0x10034c8
call fcn.01003aec
push esi
push edi
push 0x100348c
call fcn.01003aec
push esi
push edi
push 0x1003448
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1003400
call fcn.01003aec
push esi
push edi
push 0x10033b8
call fcn.01003aec
push esi
push edi
push 0x1003370
call fcn.01003aec
mov ebx, 0x1001bb8
push ebx
call fcn.01003aec
push 0x1003364
call fcn.01003aec
push 0x1003348
call fcn.01003aec
push esi
push 7
pop edi
push edi
push 0x100330c
call fcn.01003aec
push esi
push edi
push 0x10032dc
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x10032ac
call fcn.01003aec
push esi
push edi
push 0x100327c
call fcn.01003aec
push esi
push edi
push 0x1003230
call fcn.01003aec
push esi
push edi
push 0x10031f0
call fcn.01003aec
push esi
push edi
push 0x10031a8
call fcn.01003aec
push esi
push edi
push 0x1003170
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1003130
call fcn.01003aec
push esi
push edi
push 0x10030fc
call fcn.01003aec
push esi
push edi
push 0x10030c4
call fcn.01003aec
push esi
push edi
push 0x1003088
call fcn.01003aec
push esi
push edi
push 0x1003040
call fcn.01003aec
push esi
push edi
push 0x1003008
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002fcc
call fcn.01003aec
push esi
push edi
push 0x1002f88
call fcn.01003aec
push esi
push edi
push 0x1002f40
call fcn.01003aec
push esi
push edi
push 0x1002f00
call fcn.01003aec
push esi
push edi
push 0x1002ed4
call fcn.01003aec
push esi
push edi
push 0x1002e98
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002e50
call fcn.01003aec
push esi
push edi
push 0x1002e10
call fcn.01003aec
push esi
push edi
push 0x1002dc8
call fcn.01003aec
push esi
push edi
push 0x1002d80
call fcn.01003aec
push esi
push edi
push 0x1002d48
call fcn.01003aec
push esi
push edi
push 0x1002d00
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002cc4
call fcn.01003aec
push esi
push edi
push 0x1002c78
call fcn.01003aec
push esi
push edi
push 0x1002c40
call fcn.01003aec
push esi
push edi
push 0x1002bf8
call fcn.01003aec
push esi
push edi
push 0x1002bbc
call fcn.01003aec
push esi
push edi
push 0x1002b88
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002b4c
call fcn.01003aec
push esi
push edi
push 0x1002b1c
call fcn.01003aec
push esi
push edi
push 0x1002aec
call fcn.01003aec
push esi
push edi
push 0x1002ac4
call fcn.01003aec
push esi
push edi
push 0x1002a9c
call fcn.01003aec
push esi
push edi
push 0x1002a58
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002a1c
call fcn.01003aec
push esi
push edi
push 0x10029d8
call fcn.01003aec
push esi
push edi
push 0x1002998
call fcn.01003aec
push esi
push edi
push 0x1002968
call fcn.01003aec
push esi
push edi
push 0x1002930
call fcn.01003aec
push esi
push edi
push 0x10028e0
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002898
call fcn.01003aec
push esi
push edi
push 0x1002858
call fcn.01003aec
push esi
push edi
push 0x1002824
call fcn.01003aec
push esi
push edi
push 0x10027d8
call fcn.01003aec
push esi
push edi
push 0x10027a0
call fcn.01003aec
push esi
push edi
push 0x1002760
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x1002718
call fcn.01003aec
push esi
push edi
push 0x10026d0
call fcn.01003aec
push esi
push edi
push 0x1002698
call fcn.01003aec
push esi
push edi
push 0x1002660
call fcn.01003aec
push esi
push edi
push 0x100262c
call fcn.01003aec
push esi
push edi
push 0x10025e8
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x10025b4
call fcn.01003aec
push esi
push edi
mov ebp, 0x1002578
push ebp
call fcn.01003aec
push esi
push edi
push 0x1002530
call fcn.01003aec
push esi
push edi
push 0x10024e8
call fcn.01003aec
push esi
push edi
push 0x10027a0
call fcn.01003aec
push esi
push edi
push 0x1002760
call fcn.01003aec
add esp, 0x48
push esi
push edi
push 0x10024a8
call fcn.01003aec
push esi
push edi
push 0x1002698
call fcn.01003aec
push esi
push edi
push 0x1002660
call fcn.01003aec
push esi
push edi
push 0x100262c
call fcn.01003aec
push esi
push edi
push 0x10025e8
call fcn.01003aec
push esi
push edi
push 0x10025b4
call fcn.01003aec
add esp, 0x48
push esi
push edi
push ebp
call fcn.01003aec
push esi
push edi
push 0x100246c
call fcn.01003aec
push esi
push edi
push 0x1002428
call fcn.01003aec
push esi
push edi
push 0x10023e8
call fcn.01003aec
push ebx
call fcn.01003aec
push 0x10023cc
call fcn.01003aec
push 0x10023a8
call fcn.01003aec
push 0x1002380
call fcn.01003aec
add esp, 0x40
push 0x1002358
call fcn.01003aec
mov dword [esp], 0x1002324
call fcn.01003aec
mov dword [esp], 0x10022f4
call fcn.01003aec
mov dword [esp], 0x10022a8
call fcn.01003aec
mov dword [esp], 0x1002274
call fcn.01003aec
mov dword [esp], 0x1002248
call fcn.01003aec
mov dword [esp], 0x1002224
call fcn.01003aec
mov dword [esp], 0x1002200
call fcn.01003aec
mov dword [esp], 0x10021d8
call fcn.01003aec
mov dword [esp], 0x1002188
call fcn.01003aec
mov dword [esp], 0x100215c
call fcn.01003aec
mov dword [esp], 0x1002118
call fcn.01003aec
mov dword [esp], 0x10020f0
call fcn.01003aec
mov dword [esp], 0x10020a8
call fcn.01003aec
push ebx
call fcn.01003aec
push 0x1002098
call fcn.01003aec
push 0x1002074
call fcn.01003aec
push 0x100204c
call fcn.01003aec
push 0x1002008
call fcn.01003aec
push 0x1001fd4
call fcn.01003aec
push 0x1001fa8
call fcn.01003aec
push 0x1001f78
call fcn.01003aec
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
ret