Function at 0x10053002
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], 0xdbe8e56f
mov esi, ecx
inc edi
push edi
lea ecx, [ebp - 0x28]
call fcn.10018732
mov dword [ebp - 0x14], 0xa9b8fa48
xor ebx, ebx
mov dword [ebp - 0xc], 0xfffffffa
mov dword [ebp - 0x14], 0x55f992db
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x10], 0xb03be465
mov dword [ebp - 0x10], ebx
jmp 0x10053057
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1005304a
cmp dword [ebp - 8], ebx
je 0x10053075
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 8]
cmp ecx, eax
mov ecx, edi
setne dl
cmp edx, dword [ebp - 8]
jg 0x10053077
mov ecx, ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, ecx
je 0x10053087
mov eax, edi
cmp dword [ebp - 8], ebx
jne 0x10053089
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa232
mov ecx, dword [ebp - 0x28]
jg 0x100530aa
mov eax, edi
cmp dword [ecx], ebx
jne 0x100530ac
mov eax, ebx
neg eax
sub eax, 0xdf8abff5
neg eax
sbb eax, eax
inc eax
add eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x6fd8
setle cl
xor eax, eax
cmp ecx, 0x63090707
mov ecx, 0x94b58fe4
setge al
cmp ecx, eax
sbb eax, eax
xor edx, edx
neg eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, ecx
setge dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x14], ebx
je 0x10053144
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x1005310d
mov ecx, edi
cmp dword [ebp - 0x10], ebx
jne 0x1005310f
mov ecx, ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
neg eax
test eax, eax
setg cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], ebx
jne 0x1005313e
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], edi
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
call fcn.10018f31
push 0x283f
push edi
push esi
push 0xa69
call fcn.1004d8f5
mov dword [ebp - 0x14], 0x85c9e53
add esp, 0x10
mov dword [ebp - 0xc], 0xfffffff8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0x3531f145
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
dec ecx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setl dl
xor ecx, ecx
cmp eax, edx
setl cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setge dl
mov dword [ebp - 0x18], edx
xor edx, edx
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setle dl
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
xor ebx, ebx
cmp edx, eax
setle bl
sub ebx, dword [ebp - 0xc]
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
cmp ebx, 0xffffffff
setle cl
xor eax, eax
add ecx, dword [ebp - 0xc]
cmp ecx, 0xa4c
setle al
neg eax
je 0x1005322c
xor ebx, ebx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10053329
push 0x74d
push 0x242f
push 0x123
push 0x2356
call dword [sym.imp.GDI32.dll_CreateRectRgn]
jmp 0x10053329
mov dword [ebp - 8], 0x8bc0
xor edx, edx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0x31364f2c
mov dword [ebp - 0x14], 0xa83cd0cd
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 8]
setne dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
setg cl
xor ebx, ebx
sub edx, ecx
cmp edx, eax
mov eax, dword [ebp - 8]
setl bl
xor ecx, ecx
cmp eax, ebx
setle cl
xor ebx, ebx
add ecx, dword [ebp - 8]
jne 0x10053298
cmp dword [ebp - 0x10], ebx
jne 0x10053298
mov edx, ebx
jmp 0x1005329b
xor edx, edx
inc edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp eax, ecx
setne dl
cmp edx, dword [ebp - 8]
jge 0x100532e5
mov dword [ebp - 8], 1
mov dword [ebp - 8], 0x1552b9cb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x100532fe
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x100532fe
push ebx
push ebx
push 0x10bb
call edi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp edx, eax
mov eax, dword [ebp - 0x10]
setne cl
xor edx, edx
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0x1c]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x18], edx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1005333a
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push esi
call fcn.100344f0
pop ecx
push 3
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10018732
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], ebx
jmp 0x10053366
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10053359
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], ebx
jl 0x1005338c
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x10053387
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
dec dword [ebp - 0x18]
jns 0x10053378
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x100533af
push 0x1f03
push 0x1c4a
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
lea ecx, [ebp - 0x34]
call fcn.10018f31
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret