Function at 0x1001b773
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0xc], 0x7928fbc7
mov dword [ebp - 0x20], 9
push ebx
mov dword [ebp - 0x14], 0x4bb489f7
xor ebx, ebx
push esi
mov dword [ebp - 0x2c], 7
mov esi, ecx
mov dword [ebp - 0x1c], 0xffffffff
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 8], ebx
jmp 0x1001b7b9
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 0xe1757117
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001b7ab
mov dword [ebp - 0x3c], 0xffffffe7
cmp dword [ebp - 0x3c], 0x19
jle 0x1001b951
xor edi, edi
inc edi
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x10], 0xc37fc054
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0xc], ebx
jmp 0x1001b805
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1001b7f7
mov eax, dword [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
cmp eax, ecx
mov eax, 0x91208373
setge dl
cmp eax, edx
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, 0x9a2b
setge cl
sub ecx, dword [ebp - 8]
je 0x1001b8cf
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov dword [ebp - 0xc], 9
mov dword [ebp - 0x2c], 0xa7bc6c89
mov dword [ebp - 0x18], 0x8927
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
setl bl
xor edx, edx
cmp eax, ecx
push 0xfffffffffffffffd
setg dl
add ebx, edx
neg ebx
pop eax
sbb ebx, ebx
neg ebx
cmp eax, ebx
mov eax, dword [ebp - 0x20]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
xor ebx, ebx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], ebx
jne 0x1001b8b6
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x1c], ebx
jne 0x1001b8c1
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0x1001b944
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], 0x7ce2
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xc]
test eax, eax
je 0x1001b8ee
mov eax, edi
cmp dword [ebp - 0x14], ebx
jne 0x1001b8f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 8]
cmp ecx, eax
mov ecx, dword [ebp - 0x24]
setne dl
sub ecx, dword [ebp - 0x20]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
test ecx, ecx
setle al
sub eax, 0xfff6
add edx, eax
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
cmp eax, 0xffff
setne cl
sub ecx, dword [ebp - 0x2c]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 8], ecx
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0x19
jg 0x1001b7d3
mov dword [ebp - 0x2c], 0x64a6
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001b979
push 0x1881
push 0xa5e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMessageA]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1001b988
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esi], 0xc
cmp dword [esi], 0xffffffe2
jg 0x1001b9f6
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0xecaa7054
mov dword [ebp - 0x2c], ebx
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, ecx
mov eax, dword [ebp + 0xc]
setle bl
add eax, 7
xor edx, edx
cmp ebx, eax
mov eax, dword [ebp + 0xc]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
setne cl
push 0
mov dword [eax], ecx
or ecx, 0xffffffff
mov eax, dword [ebp + 0xc]
mov eax, dword [edx]
sub ecx, eax
mov eax, dword [edx]
xor edx, edx
cmp eax, ecx
pop ebx
sete dl
xor eax, eax
cmp edx, 0x25452e2c
setg al
mov dword [ebp - 0x2c], eax
dec dword [esi]
cmp dword [esi], 0xffffffe2
jle 0x1001b996
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret