Function at 0x49f1e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5a1005
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
cmp dword [0x610704], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
jne 0x49f239
mov eax, 1
jmp 0x49f582
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x90], 0
je 0x49f263
movdqu xmm0, xmmword [ebp + 0xc]
mov edx, dword [edi]
sub esp, 0x10
mov eax, esp
push ecx
mov ecx, edi
movdqu xmmword [eax], xmm0
call dword [edx + 0x13c]
mov ecx, dword [edi + 0x104]
test ecx, ecx
je 0x49f580
lea eax, [esp + 0x28]
push eax
call fcn.0044ea10
mov byte [esp + 0x90], 1
mov ecx, dword [edi + 0x104]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp byte [ebp + 0x20], 0xff
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jne 0x49f2ff
cmp eax, 0xffffffff
je 0x49f2e1
mov eax, dword [ebp + 0xc]
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
add eax, 3
add ecx, 4
mov dword [esp + 0x44], eax
add eax, 0x10
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0x10]
mov ecx, edi
mov dword [esp + 0x50], eax
mov eax, esp
movdqu xmm0, xmmword [esp + 0x44]
push dword [esp + 0x3c]
movdqu xmmword [eax], xmm0
call fcn.0049f5b0
movdqu xmm0, xmmword [ebp + 0xc]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push dword [esp + 0x3c]
movdqu xmmword [eax], xmm0
call fcn.0049f910
jmp 0x49f55e
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
sub edi, dword [ebp + 0x10]
push ecx
mov dword [esp + 0x24], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [esp + 0x38]
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], edi
call fcn.004675f0
cmp dword [esp + 0x24], 0xffffffff
mov byte [esp + 0x90], 2
je 0x49f371
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x44], 3
mov dword [esp + 0x4c], 0x13
mov dword [esp + 0x48], 4
push dword [esp + 0x6c]
mov dword [esp + 0x54], 0x14
movdqu xmm0, xmmword [esp + 0x48]
movdqu xmmword [eax], xmm0
call fcn.0049f5b0
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x1f4], 0
jne 0x49f445
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], 0x1a
call dword [eax + 0x16c]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x2c]
cmp ecx, dword [ebp + 0x14]
push 1
cmovg ecx, dword [ebp + 0x14]
push dword [esp + 0x60]
mov dword [esp + 0x44], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfefefe
push dword [esp + 0x60]
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x28], eax
call fcn.0042a1a0
mov ecx, eax
call fcn.0042af00
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x5c]
sub esp, 0x10
mov edi, eax
mov edx, esi
lea eax, [esp + 0x44]
push 0x8824
push eax
push dword [esi - 0xc]
call fcn.00425e10
add esp, 0x1c
push edi
push dword [esp + 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
push dword [esp + 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esp + 0x14]
push dword [esp + 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 3]
and eax, 0xfffffffc
mov dword [esp + 0x1c], eax
test edi, edi
je 0x49f493
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x20]
mov eax, edx
test esi, esi
je 0x49f488
mov ecx, esi
jmp 0x49f470
test dword [eax], 0xffffff
je 0x49f482
cmp byte [eax + 3], 0
jne 0x49f482
mov byte [eax + 3], 0xfe
add eax, 4
dec ecx
jne 0x49f470
add edx, dword [esp + 0x1c]
dec edi
jne 0x49f463
mov esi, dword [esp + 0x28]
mov al, byte [ebp + 0x20]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
sub edx, edi
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x78]
mov word [esp + 0x18], 0
sub eax, ecx
mov byte [esp + 0x1b], 1
push dword [esp + 0x18]
push eax
push edx
push 0
push 0
push dword [esp + 0x70]
push eax
push edx
push ecx
push edi
push dword [esp + 0x80]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x49f50c
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x49f4fd
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], 0
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49f523
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x49f543
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x49f543
push ecx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x54], 0
push 1
lea ecx, [esp + 0x54]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x5c0ddc
call fcn.00467810
add esi, 0xfffffff0
mov byte [esp + 0x90], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49f580
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x1c