Function at 0x10030039
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x128
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10030558
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10030320
mov dword [ebp - 0x58], 0x31a3
mov dword [ebp - 0x80], 0x1000a4b0
cmp dword [ebp - 0x58], 0x32d2
jle 0x10030180
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x1c], 0
jmp 0x10030112
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6045
jge 0x10030180
and dword [ebp - 0x20], 0
jmp 0x10030128
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x646a
jge 0x1003017e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x138]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0x138]
call fcn.1001cab0
jmp 0x10030121
jmp 0x1003010b
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x3062
jge 0x100301a2
push dword [ebp - 0x80]
call fcn.10053526
pop ecx
jmp 0x100301be
or dword [ebp - 4], 0xffffffff
jmp 0x100301c8
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x74], eax
push 2
mov ecx, dword [ebp - 0xc0]
call fcn.1001cda9
push 1
mov ecx, dword [ebp - 0xfc]
call fcn.1001cda9
cmp dword [eax], 0xfffffffa
ja 0x1003029d
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1003029d
mov dword [ebp - 0x40], 1
jmp 0x100302a1
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
sub esi, dword [ebp - 0x40]
push 0
mov ecx, dword [ebp - 0x74]
call fcn.1001cda9
cmp esi, dword [eax]
je 0x100302c5
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x100302c5
and dword [ebp - 0x38], 0
jmp 0x100302cc
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x38], 6
jge 0x100302db
mov dword [ebp - 0x30], 1
jmp 0x100302df
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
cmp dword [ebp - 0x30], 0xc7b
jl 0x100302f9
mov dword [ebp - 0x48], 1
jmp 0x100302fd
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
imul eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10030556
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xfffffff3
jmp 0x10030378
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffffd
jge 0x10030556
mov dword [ebp - 0x2c], 0xfffffffb
push 1
lea ecx, [ebp - 0x110]
call fcn.1001cd0b
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x44], 0x9cbc21b0
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xe4], 0x6200d40a
mov dword [ebp - 0x14], 0
jmp 0x100303d1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100303ed
push dword [ebp - 0x14]
lea ecx, [ebp - 0x110]
call fcn.1001cda9
mov dword [eax], 0xfffffffa
jmp 0x100303ca
mov dword [ebp - 0x14], 0
jmp 0x100303fd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10030413
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x120], 0x86f80366
jmp 0x100303f6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
push 0
lea ecx, [ebp - 0x110]
call fcn.1001cda9
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x50]
jne 0x10030446
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x10030446
mov dword [ebp - 0x60], 1
jmp 0x1003044a
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], eax
je 0x1003045b
mov dword [ebp - 0x28], 1
jmp 0x1003045f
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 8
jl 0x10030479
mov dword [ebp - 0x3c], 1
jmp 0x1003047d
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x3c], eax
jge 0x1003048e
mov dword [ebp - 0x34], 1
jmp 0x10030492
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0
je 0x100304b2
cmp dword [ebp - 0x64], 0
je 0x100304b2
mov dword [ebp - 0xcc], 1
jmp 0x100304b9
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov eax, 0xc0e07525
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
jl 0x100304dd
mov dword [ebp - 0xd4], 1
jmp 0x100304e4
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xdc]
cmp dword [eax], ecx
jg 0x10030505
mov dword [ebp - 0x54], 1
jmp 0x10030509
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xfffffff6
jb 0x10030518
mov dword [ebp - 0x5c], 1
jmp 0x1003051c
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x120], ecx
xor eax, eax
inc eax
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0xe4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.1001cd8d
jmp 0x1003036d
jmp 0x1003056c
push 0x4a70
push 1
push 0x4974
call fcn.1002ffe4
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret