Function at 0x100491bf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov dword [ebp - 8], 0x824a8c6a
xor eax, eax
mov dword [ebp - 0x18], 0xfc2da8af
mov ebx, ecx
push esi
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 0xc], 0x68aa
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 9
push 1
mov dword [ebp - 0x20], ebx
pop edi
je 0x100492e8
mov ecx, 0x7f8b4dfe
mov dword [ebp - 0x14], 0xfffc
mov dword [ebp - 0x10], 0x3717be9f
mov dword [ebp - 0x10], 0xaa8e55a4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 8], 0xd9d75405
sbb ecx, ecx
xor ebx, ebx
neg ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp edx, ecx
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
setl bl
mov ecx, dword [ebp - 8]
sub esi, ebx
neg esi
sbb esi, esi
add esi, 2
neg esi
sbb esi, esi
xor ebx, ebx
add esi, 0xffff4934
cmp ecx, edx
setle bl
cmp ebx, esi
jle 0x1004926c
mov ecx, edi
cmp dword [ebp - 0xc], eax
jne 0x1004926e
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], eax
je 0x10049289
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x100492d3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor eax, eax
jmp 0x100492d3
mov dword [ebp - 0x14], 0xe2
mov dword [ebp - 0x10], 3
cmp dword [ebp - 0x10], eax
jl 0x100492c3
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + ecx*4 - 0x3c], eax
jne 0x100492c3
mov dword [ebp - 0xc], eax
jmp 0x100492b8
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x3c], 0xfffffff7
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x100492aa
dec dword [ebp - 0x10]
jns 0x1004929c
mov edx, dword [ebp - 0x14]
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
setg bl
mov dword [ebp - 0x10], ebx
inc dword [ebp - 8]
mov ecx, 0x7f8b4dfe
cmp dword [ebp - 8], 9
jne 0x100491fc
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x10049340
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0xc34
push 0xdbe
push 0x240f
push eax
push 0x20b5
push 0x22e2
call edi
mov esi, dword [sym.imp.USER32.dll_GetDC]
push eax
call esi
push eax
push 0x2542
push 0xcb5
push 0x1968
push 0x209f
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_MaskBlt]
xor edi, edi
inc edi
push ebx
push 0x2729
push edi
push 0x38c8
call fcn.1004322f
movdqa xmm0, xmmword [0x10006720]
lea eax, [ebp - 0x3c]
add esp, 0x10
lea ecx, [ebp - 0x2c]
xor esi, esi
movdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x2c], esi
push dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], esi
push eax
push esi
call fcn.100153db
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
push 3
mov dword [ebp - 0x20], 0xfe1f230
pop edx
mov dword [ebp - 8], edx
cmp dword [ebp - 8], esi
jl 0x1004941a
mov dword [ebp - 0x20], 0xc9f196e6
mov dword [ebp - 0x10], 0xa4d9a54e
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], esi
je 0x100493c3
cmp dword [ebp - 8], esi
je 0x100493c3
mov eax, edi
cmp dword [ebp - 0x20], esi
jne 0x100493c5
mov eax, esi
add eax, 0xcac3
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], 0x39c9d940
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp eax, 7
setg cl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], esi
jl 0x10049415
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + ecx*4], esi
jne 0x10049415
dec dword [ebp - 0x10]
jns 0x10049405
dec dword [ebp - 8]
jns 0x1004939f
lea ecx, [ebp - 0x2c]
call fcn.10013eb6
push ebx
call fcn.10020686
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret