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

Disassembly:
push 0xffffffffffffffff
push 0x49f310
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x58]
lea ebx, [esi + 0x58]
push 0x4a5956
push eax
call fcn.00481621
xor ebp, ebp
add esp, 8
cmp eax, ebp
sete al
test al, al
lea ecx, [esi + 0xd4]
je 0x417c1c
push ebp
call fcn.00466a21
jmp 0x417fce
push 5
call fcn.00466a21
lea ecx, [esp + 0x64]
call fcn.00465918
mov eax, vtable.CBitmap.0
mov dword [esp + 0x94], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], vtable.CBrush.0
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], vtable.CFont.0
mov byte [esp + 0x94], 4
call fcn.00460a7a
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x417c82
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0xa4]
push 0x271a
mov byte [esp + 0x98], 5
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call fcn.004609cb
cmp eax, ebp
je 0x417ce3
push 0x271a
push eax
lea ecx, [esp + 0x20]
call fcn.00401d00
push 0xcb7028
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x40]
call fcn.004660ed
call fcn.00435b30
push 0x2761
mov byte [esp + 0x18], al
call fcn.004350d0
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + 0x18]
add esp, 4
push ecx
push ebp
push ebp
push ebp
push ebp
push edx
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x38]
call fcn.004660ed
mov esi, dword [esp + 0x9c]
cmp esi, ebp
jne 0x417d48
xor eax, eax
jmp 0x417d4b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x68]
call fcn.00465e26
call fcn.004608f5
mov eax, dword [eax + 0xc]
mov ebp, dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x89
push eax
call ebp
push eax
lea ecx, [esp + 0x30]
call fcn.004660ed
call fcn.004608f5
mov eax, dword [eax + 0xc]
push 0x8a
push eax
call ebp
push eax
lea ecx, [esp + 0x48]
call fcn.004660ed
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push eax
push ecx
call fcn.00466193
mov edx, dword [ebx]
mov ebp, dword [edx - 0xc]
mov dword [esp + 0x24], eax
mov eax, edx
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebp
or eax, ecx
jge 0x417df0
push ebp
mov ecx, ebx
call fcn.00401770
mov eax, dword [ebx]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x7c]
sub eax, edi
mov ebp, dword [esp + 0xa8]
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
push 0xcc0020
push 0
sub eax, edx
mov edx, dword [esi + 4]
push 0
sar eax, 1
sar edi, 1
sub edi, eax
mov eax, dword [esp + 0x74]
push eax
push ecx
mov ecx, dword [esp + 0x8c]
push ecx
push edi
add ebp, 0xfffffff6
push ebp
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0x5c], ebp
sub ebp, ecx
add eax, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
add edx, edi
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esp + 0x64], edi
call dword [sym.imp.USER32.dll_FillRect]
push 1
mov ecx, esi
call fcn.00465749
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xffffff
mov ecx, esi
call edx
mov ebx, dword [ebx]
add dword [esp + 0x58], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0x24
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00465749
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.00466193
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push edi
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x417f18
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x68]
push eax
push ecx
call fcn.00466193
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x94], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 3
mov dword [esp + 0x34], vtable.CFont.0
call fcn.00409940
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 2
mov dword [esp + 0x3c], vtable.CBrush.0
call fcn.00409940
mov esi, vtable.CBitmap.0
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 1
mov dword [esp + 0x44], esi
call fcn.00409940
lea ecx, [esp + 0x2c]
mov byte [esp + 0x94], 0
mov dword [esp + 0x2c], esi
call fcn.00409940
lea ecx, [esp + 0x64]
mov dword [esp + 0x94], 0xffffffff
call fcn.00465ea0
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x14