Function at 0x1004087b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10040b97
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x10040968
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x10040943
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jge 0x10040963
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0xa4]
call fcn.10011cc6
mov dword [eax], 0x5d6c05ba
jmp 0x10040938
jmp 0x10040b92
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10040a35
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10040a35
and dword [ebp - 0x18], 0
jmp 0x10040a3c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jg 0x10040a6a
mov dword [ebp - 0x74], 1
jmp 0x10040a6e
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 1
jb 0x10040a7d
mov dword [ebp - 0x3c], 1
jmp 0x10040a81
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x10040a94
mov dword [ebp - 0x64], 1
jmp 0x10040a98
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x64]
jne 0x10040aaf
push 0xfffffffffffffffe
pop eax
test eax, eax
jne 0x10040aaf
and dword [ebp - 0x20], 0
jmp 0x10040ab6
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0x10040ad4
mov dword [ebp - 0x44], 1
jmp 0x10040ad8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jne 0x10040af0
mov dword [ebp - 0x28], 1
jmp 0x10040af4
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
je 0x10040b14
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x10040b14
and dword [ebp - 0x4c], 0
jmp 0x10040b1b
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
inc eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x10040b2f
mov dword [ebp - 0x6c], 1
jmp 0x10040b33
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x5498
jl 0x10040b45
mov dword [ebp - 0x1c], 1
jmp 0x10040b49
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jle 0x10040b67
mov dword [ebp - 0x7c], 1
jmp 0x10040b6b
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jl 0x10040b7e
mov dword [ebp - 0x5c], 1
jmp 0x10040b82
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
add eax, 0x6ce
mov ecx, dword [ebp - 0xa8]
mov dword [ecx], eax
jmp 0x10040e32
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x10040e2c
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xb0bf
jg 0x10040c7c
mov dword [ebp - 0x24], 1
jmp 0x10040c80
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 0
jne 0x10040d7f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jge 0x10040cb2
mov dword [ebp - 0x34], 1
jmp 0x10040cb6
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xa335c22c
ja 0x10040cc8
mov dword [ebp - 0x38], 1
jmp 0x10040ccc
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x5327
jle 0x10040ce8
mov dword [ebp - 0x40], 1
jmp 0x10040cec
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xed693765
ja 0x10040cfe
mov dword [ebp - 0x48], 1
jmp 0x10040d02
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jle 0x10040d15
mov dword [ebp - 0x50], 1
jmp 0x10040d19
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0x2e428464
jne 0x10040d30
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x10040d30
and dword [ebp - 0x58], 0
jmp 0x10040d37
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jl 0x10040d4a
mov dword [ebp - 0x60], 1
jmp 0x10040d4e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x68]
cmp eax, dword [ecx]
jge 0x10040d6c
mov dword [ebp - 0x70], 1
jmp 0x10040d70
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 2
jle 0x10040d7f
and dword [ebp - 0x118], 0
jmp 0x10040d89
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ecx]
mov ecx, dword [ebp - 8]
add eax, dword [ecx]
cmp eax, 0x425a
jge 0x10040db6
mov dword [ebp - 0x120], 1
jmp 0x10040dbd
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xea1325a4
je 0x10040ddc
mov dword [ebp - 0x78], 1
jmp 0x10040de0
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
jl 0x10040df3
mov dword [ebp - 0x80], 1
jmp 0x10040df7
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x80]
jle 0x10040e12
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x10040e12
and dword [ebp - 0x88], 0
jmp 0x10040e1c
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
jmp 0x10040e32
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esp, ebp
pop ebp
ret