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

Disassembly:
push 0xffffffffffffffff
push 0x6f7a2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [esp + 0x48]
call fcn.006c7267
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x34]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x88], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub eax, edi
sub ecx, edx
lea edx, [ebx + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov ecx, esi
call fcn.00625fe0
test al, al
je 0x4f4513
xor ebp, ebp
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.004f40c0
mov ecx, eax
call fcn.0045eec0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x80], 2
test eax, eax
je 0x4f44b3
lea ecx, [eax + 4]
call fcn.00456130
test eax, eax
je 0x4f44b3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 8]
mov esi, dword [eax + 8]
test esi, esi
je 0x4f44b3
push 8
call fcn.00652710
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
test edi, edi
mov byte [esp + 0x80], 3
je 0x4f4369
mov ecx, edi
call fcn.0041c780
mov dword [edi], vtable.CBitmap.0
jmp 0x4f436b
xor edi, edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
push edx
mov ebp, edi
push eax
push ecx
mov byte [esp + 0x8c], 2
mov dword [esp + 0x20], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.006c750f
test eax, eax
je 0x4f44a0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
sub eax, ecx
mov ecx, dword [esi + 0x20]
push eax
sub ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
push ecx
lea ecx, [esp + 0x60]
call fcn.0041cea0
lea ecx, [esp + 0x70]
mov byte [esp + 0x80], 4
call fcn.0041e000
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x70]
push edx
mov byte [esp + 0x84], 5
mov dword [esp + 0x5c], vtable.t_mfc_dib_section_unsigned_short_int_.1.0
mov dword [esp + 0x74], vtable.t_mfc_dib_section_unsigned_short_int_.0
call fcn.006c750f
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
lea eax, [esp + 0x5c]
push ecx
push eax
mov eax, dword [esi + 0x18]
sub esp, 0x10
mov ecx, esp
mov edx, dword [esi]
mov byte [esp + 0x9c], 6
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x20]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x70]
neg eax
sbb eax, eax
lea edx, [esp + 0x24]
and eax, ecx
push edx
lea ecx, [esp + 0x38]
push edi
push ecx
push eax
mov ecx, ebx
call fcn.004f4780
mov dword [esp + 0x58], vtable.t_mfc_dib_section_unsigned_short_int_.1.0
mov dword [esp + 0x70], vtable.t_mfc_dib_section_unsigned_short_int_.0
lea ecx, [esp + 0x70]
mov byte [esp + 0x80], 8
call fcn.006c753c
lea ecx, [esp + 0x58]
lea edx, [esp + 0x70]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x80], 7
and ecx, edx
call fcn.0041ce20
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 2
call fcn.0041ce60
jmp 0x4f44b3
xor ebp, ebp
test edi, edi
mov dword [esp + 0x14], ebp
je 0x4f44b3
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov dword [eax], ebp
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x80], 9
test ecx, ecx
mov edi, ecx
je 0x4f44ed
lea ebp, [ecx + 8]
mov ecx, ebp
call fcn.004d2360
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
mov ecx, ebp
call fcn.004d2370
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.00403170
test esi, esi
mov byte [esp + 0x80], 0
je 0x4f450f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc esi
add ecx, 4
cmp esi, 0x4a
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
jl 0x4f42d7
lea ecx, [esp + 0x44]
mov dword [esp + 0x80], 0xffffffff
call fcn.006c72d9
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret