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

Disassembly:
push 0xffffffffffffffff
push 0x617ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
mov esi, ecx
mov eax, esi
call fcn.004b88f0
xor ebx, ebx
cmp dword [esi + 0xa4c], ebx
mov ecx, eax
je 0x4b9e89
cmp ecx, dword [esi + 0xa50]
jb 0x4b9e89
cmp ecx, 0xc8
jb 0x4b9e89
cmp dword [esi + 0xa54], ebx
je 0x4b9c54
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x4b9c21
fadd qword [0x65d230]
fdiv qword [0x65d238]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fldcw word [esp + 0x14]
imul eax, eax, 0x64
cmp eax, ecx
jne 0x4b9e89
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.004b4d00
call fcn.004b4ea0
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004b4d00
call fcn.004b4ea0
mov cl, 0xaa
mov al, 0x55
mov edi, vtable.CBitmap.0
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], cl
mov byte [esp + 0x56], al
mov byte [esp + 0x57], al
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], cl
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], al
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], cl
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], cl
mov byte [esp + 0x62], al
mov byte [esp + 0x63], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x74], ebx
mov eax, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, 1
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], ax
lea eax, [esp + 0x3c]
lea edx, [esp + 0x54]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x54], edx
call dword [sym.imp.gdi32.dll_CreateBitmapIndirect]
push eax
lea ecx, [esp + 0x28]
call fcn.00577879
test eax, eax
lea ecx, [esp + 0x24]
jne 0x4b9d3f
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x24], edi
jmp 0x4b9e84
push ecx
lea ecx, [esp + 0x38]
call fcn.00577a99
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.00577951
mov edi, dword [ebp]
mov ebx, dword [sym.imp.user32.dll_GetSysColor]
push 0xf
mov dword [esp + 0x20], eax
add edi, 0x30
call ebx
push eax
mov eax, dword [edi]
mov ecx, ebp
call eax
mov edi, dword [ebp]
push 0x10
add edi, 0x2c
call ebx
mov edx, dword [edi]
push eax
mov ecx, ebp
call edx
fld qword [esi + 0x998]
mov eax, dword [esi + 0x98]
fstp qword [esp + 0x2c]
mov ebx, dword [esp + 0x84]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jl 0x4b9df1
mov eax, dword [esp + 0x8c]
sub eax, ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x14]
fmul qword [esp + 0x2c]
call fcn.005ab4c0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
push 0xf00021
push edx
push 1
add eax, ecx
push ebx
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.gdi32.dll_PatBlt]
add edi, 1
cmp edi, dword [esi + 0x98]
mov dword [esp + 0x14], edi
jle 0x4b9db4
xor edi, edi
cmp dword [esi + 0x9c], edi
mov dword [esp + 0x14], edi
jl 0x4b9e4e
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
fild dword [esp + 0x14]
fmul qword [esp + 0x2c]
call fcn.005ab4c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
push 0xf00021
push 1
push ecx
add eax, ebx
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.gdi32.dll_PatBlt]
add edi, 1
cmp edi, dword [esi + 0x9c]
mov dword [esp + 0x14], edi
jle 0x4b9e11
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00577951
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CBrush.0
call fcn.00424fa0
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x24], vtable.CBitmap.0
lea ecx, [esp + 0x24]
call fcn.00424fa0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005a58d9
add esp, 0x64
ret 0x14