Function at 0x10033358
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006666e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10033591
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1003356f
mov dword [ebp - 0x4c], 0xc0de450b
mov dword [ebp - 0x14], 0
jmp 0x100333b3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100333c6
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0x477862fd
jmp 0x100333ac
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x3c], 0
jmp 0x100333eb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x3c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3c], 0xfffffffc
jg 0x1003356d
mov dword [ebp - 0x10], 0xffff
mov dword [ebp - 0x1c], 0xc3d6c1df
mov dword [ebp - 0x34], 2
push 2
lea ecx, [ebp - 0x94]
call fcn.100179d6
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x10033432
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003344b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.10017a5d
or dword [eax], 0xffffffff
jmp 0x1003342b
cmp dword [ebp - 0x10], 0x7750
jge 0x10033460
mov dword [ebp - 0x84], 1
jmp 0x10033467
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x10033478
mov dword [ebp - 0x48], 1
jmp 0x1003347c
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x48], eax
jl 0x1003348d
mov dword [ebp - 0x28], 1
jmp 0x10033491
and dword [ebp - 0x28], 0
mov eax, 0x6de0
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], eax
jg 0x100334ad
mov dword [ebp - 0x20], 1
jmp 0x100334b1
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x20]
imul eax, eax, 0xfffe
test eax, eax
jbe 0x100334cb
mov dword [ebp - 0x30], 1
jmp 0x100334cf
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 1
jne 0x100334e8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x100334e8
and dword [ebp - 0x44], 0
jmp 0x100334ef
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x44], eax
jle 0x1003350f
mov eax, 0x5c0c8fbf
test eax, eax
je 0x1003350f
cmp dword [ebp - 0x1c], 0
je 0x1003350f
mov dword [ebp - 0x24], 1
jmp 0x10033513
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jg 0x10033524
mov dword [ebp - 0x2c], 1
jmp 0x10033528
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10033540
cmp dword [ebp - 0x1c], 0
jne 0x10033540
and dword [ebp - 0x40], 0
jmp 0x10033547
mov dword [ebp - 0x40], 1
push 0
lea ecx, [ebp - 0x94]
call fcn.10017a5d
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10017a38
jmp 0x100333d6
jmp 0x1003358f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1003358f
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10033604
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x100335e3
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
jmp 0x10033604
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x10033604
push 0x551
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret