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

Disassembly:
push 0xffffffffffffffff
push 0x60fa20
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
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.004b5ed0
xor ebx, ebx
cmp dword [esi + 0xa54], ebx
mov ecx, eax
je 0x4b7469
cmp ecx, dword [esi + 0xa58]
jb 0x4b7469
cmp ecx, 0xc8
jb 0x4b7469
cmp dword [esi + 0xa5c], ebx
je 0x4b7234
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x4b7201
fadd qword [0x655778]
fdiv qword [0x655780]
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 0x4b7469
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.004b2280
call fcn.004b2420
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004b2280
call fcn.004b2420
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.0056fcea
test eax, eax
lea ecx, [esp + 0x24]
jne 0x4b731f
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x24], edi
jmp 0x4b7464
push ecx
lea ecx, [esp + 0x38]
call fcn.0056ff0a
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.0056fdc2
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 0x4b73d1
mov eax, dword [esp + 0x8c]
sub eax, ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x14]
fmul qword [esp + 0x2c]
call fcn.005a3c30
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 0x4b7394
xor edi, edi
cmp dword [esi + 0x9c], edi
mov dword [esp + 0x14], edi
jl 0x4b742e
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.005a3c30
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 0x4b73f1
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0056fdc2
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CBrush.0
call fcn.00423d70
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x24], vtable.CBitmap.0
lea ecx, [esp + 0x24]
call fcn.00423d70
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.0059e0c2
add esp, 0x64
ret 0x14