Function at 0x10029828
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e8c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10029882
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa8]
push 1
call fcn.10029b9d
add esp, 0xc
jmp 0x10029b8c
lea eax, [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x100298f0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x100298eb
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10029b8c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x34], 0x2d0b
mov dword [ebp - 0xa0], 0x10009c28
cmp dword [ebp - 0x34], 0x2f68
jle 0x100299cb
push 0x1e12
call dword [sym.imp.USER32.dll_GetDC]
and dword [ebp - 0x24], 0
jmp 0x10029944
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x9fb
jge 0x100299cb
and dword [ebp - 0x18], 0
jmp 0x1002995a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e86
jge 0x100299c6
and dword [ebp - 0x1c], 0
jmp 0x10029970
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x586f
jge 0x100299c4
and dword [ebp - 0x20], 0
jmp 0x10029986
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1dc4
jge 0x100299c2
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
mov ecx, 0x10606d98
call fcn.10011b50
jmp 0x1002997f
jmp 0x10029969
jmp 0x10029953
jmp 0x1002993d
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x2b2f
jge 0x100299ee
mov edx, dword [ebp - 0xa0]
mov ecx, 0x10606d98
call fcn.10014461
jmp 0x10029a0a
or dword [ebp - 4], 0xffffffff
jmp 0x10029a14
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp dword [eax], ecx
je 0x10029a70
mov dword [ebp - 0x2c], 1
jmp 0x10029a74
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, 0x4653ffd0
cmp eax, 0x15a8
jge 0x10029a9e
mov dword [ebp - 0x44], 1
jmp 0x10029aa2
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x10029ab8
mov dword [ebp - 0x84], 1
jmp 0x10029abf
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x10029adf
mov dword [ebp - 0x3c], 1
jmp 0x10029ae3
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 6
je 0x10029af6
push 7
pop eax
test eax, eax
jne 0x10029af6
and dword [ebp - 0x4c], 0
jmp 0x10029afd
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x4c]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10029b20
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0
jne 0x10029b20
and dword [ebp - 0x30], 0
jmp 0x10029b27
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x10029b3a
mov dword [ebp - 0x28], 1
jmp 0x10029b3e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
add eax, 0x34120570
cmp eax, 0x4acc0136
jl 0x10029b61
mov dword [ebp - 0x48], 1
jmp 0x10029b65
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x10029b7d
mov dword [ebp - 0x50], 1
jmp 0x10029b81
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret