Function at 0x1002e853
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f8c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002e915
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1002e8f0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002e8d1
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], 3
jge 0x1002e8ee
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.1001abab
mov dword [eax], 1
jmp 0x1002e8c6
jmp 0x1002e910
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1002e910
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1002eb5d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x20], 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001ab0d
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0x11151
mov dword [ebp - 0x1c], 0
jmp 0x1002e950
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002e96c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c]
call fcn.1001abab
mov dword [eax], 0x7a7c
jmp 0x1002e949
mov dword [ebp - 0x20], 0xfffffff1
jmp 0x1002e97c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffffd
jle 0x1002eb37
push 3
lea ecx, [ebp - 0x80]
call fcn.1001ab0d
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0x4440
mov dword [ebp - 0x64], 0x1000a768
cmp dword [ebp - 0x34], 0x4817
jle 0x1002ea15
and dword [ebp - 0x2c], 0
jmp 0x1002e9b8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6184
jge 0x1002ea15
and dword [ebp - 0x24], 0
jmp 0x1002e9ce
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xc0
jge 0x1002ea13
and dword [ebp - 0x28], 0
jmp 0x1002e9e4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6414
jge 0x1002ea11
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x106086b8
call fcn.1001a8dc
jmp 0x1002e9dd
jmp 0x1002e9c7
jmp 0x1002e9b1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0x4425
jge 0x1002ea2f
mov edx, dword [ebp - 0x64]
mov ecx, 0x106086b8
call fcn.1001cde7
jmp 0x1002ea4b
mov dword [ebp - 4], 1
jmp 0x1002ea5b
mov dword [ebp - 0x30], 0
jmp 0x1002ea6b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002ea84
push dword [ebp - 0x30]
lea ecx, [ebp - 0x80]
call fcn.1001abab
mov dword [eax], 7
jmp 0x1002ea64
push 2
lea ecx, [ebp - 0x80]
call fcn.1001abab
and dword [eax], 0
jmp 0x1002eaab
push 2
lea ecx, [ebp - 0x80]
call fcn.1001abab
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x80]
call fcn.1001abab
cmp dword [eax], 0
jl 0x1002eb10
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002eada
push 0
push 0x428
push 0
push 0x160f
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 2
lea ecx, [ebp - 0x80]
call fcn.1001abab
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.1001abab
mov esi, eax
push 2
lea ecx, [ebp - 0x80]
call fcn.1001abab
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.1001abab
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x1002ea93
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002eb26
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.1001ab8f
jmp 0x1002e975
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.1001ab8f
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 0
call fcn.10026415
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