Function at 0x100490d6
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x10081c13
call fcn.1008034c
sub esp, 0x90
movdqa xmm0, xmmword [0x10007f50]
lea eax, [ebp - 0x8c]
push ebx
push esi
push edi
push dword [ebp - 0x3c]
xor ebx, ebx
mov esi, ecx
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x38], esi
push eax
push ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
movdqu xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.10017beb
mov dword [ebp - 0x2c], 0xffffffff
xor edi, edi
mov dword [ebp - 0x34], 0x2906c902
inc edi
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x1c], 0x84cb
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], 0x5270
mov dword [ebp - 0x14], ebx
jmp 0x1004916c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], 0x13638ecf
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1004915e
mov dword [ebp - 0x14], ebx
jmp 0x10049187
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x8c], 0x3637b304
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10049176
cmp dword [ebp - 0x40], ebx
je 0x100491aa
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x84]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x84]
mov ecx, edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
inc dword [ebp - 0x1c]
cmp eax, 0x6d06
mov eax, dword [ebp - 0x5c]
cmove ecx, ebx
xor edx, edx
cmp ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
setne dl
xor ecx, ecx
cmp edx, eax
mov edx, edi
setl cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], 0x12cd0ab8
mov dword [ebp - 0x28], 0xab95dfea
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jne 0x10049210
mov edx, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x30]
setge cl
add eax, ecx
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x5c]
dec dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.1001671c
push 0x3181
push esi
push edi
call fcn.10043e3d
mov dword [ebp - 0x18], 0x5d6c05ba
add esp, 0xc
mov dword [ebp - 0x18], ebx
jmp 0x1004925f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x68], 0xef3b0639
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10049251
mov dword [ebp - 0x18], 0xfffffffa
cmp dword [ebp - 0x18], 0x15
je 0x10049389
push edi
lea ecx, [ebp - 0x50]
call fcn.10016697
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0xab653b1d
mov dword [ebp - 0x28], 0xdd93ba6a
mov dword [ebp - 0x14], ebx
jmp 0x100492a1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x50]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10049295
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jg 0x10049371
mov dword [ebp - 0x1c], 0x1ba6b42b
mov dword [ebp - 0x1c], ebx
jmp 0x100492c8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x100492be
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x50]
push 0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0x8108531d
mov eax, dword [ebp - 0x50]
sbb ecx, ecx
add ecx, 0x23a266d3
cmp dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x1c]
pop ecx
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
imul edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x28]
sub edi, eax
neg edi
sbb edi, edi
xor ecx, ecx
neg edi
mov dword [ebp - 0x64], edi
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x50]
imul eax, edi
cmp eax, dword [edx + esi*4]
setg cl
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x1c]
neg eax
jne 0x10049350
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
inc dword [ebp - 0x14]
push 1
pop edi
cmp dword [ebp - 0x14], ebx
jle 0x100492b2
lea ecx, [ebp - 0x50]
call fcn.1001671c
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x15
jne 0x10049276
mov esi, dword [ebp - 0x38]
push esi
call fcn.1002de20
pop ecx
mov dword [ebp - 0x14], 0x3f46
lea ecx, [ebp - 0x7c]
push 4
mov dword [ebp - 0x2c], eax
call fcn.10016697
mov dword [ebp - 0x1c], ebx
jmp 0x100493b5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x100493a9
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 0x14]
je 0x10049401
cmp dword [ebp - 0x14], ebx
je 0x10049401
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], 0xfffffff3
jmp 0x100493f0
mov dword [ebp - 0x24], 0x8c38ec32
inc dword [ebp - 0x24]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
jl 0x100493e3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
jmp 0x100494e1
mov dword [ebp - 0x14], 0xfffffffc
cmp dword [ebp - 0x14], 0x32
jle 0x100494e1
mov esi, dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x18], ebx
jmp 0x10049438
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0x3cef3392
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x1004942a
mov dword [ebp - 0x18], ebx
jmp 0x10049451
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x70], 0x64f68993
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10049443
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x10049468
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
push 0xfffffffffffffffa
pop edx
sub edx, eax
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x100494d4
push 0x2174
push 0x25e
push 0x1f3e
push ebx
push 0x300
push 0x258f
call edi
push eax
call esi
push eax
push 0x211f
push 0x549
push 0x1205
push 0x5da
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_MaskBlt]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x32
jg 0x1004941e
lea ecx, [ebp - 0x7c]
call fcn.1001671c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret