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

Disassembly:
push 0xffffffffffffffff
push 0x44f3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0x170]
mov ecx, ebx
call fcn.0043cf12
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0043c522
mov ecx, dword [eax + 8]
push 6
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0043cea6
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, 0x463ef0
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x48]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], 0x190
mov byte [esp + 0x43], 0x86
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x17c]
and ecx, 3
cmp eax, edx
rep movsb byte es:[edi], byte [esi]
jne 0x42236c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0xc
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp + 0x178]
call fcn.0043cebb
xor edx, edx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x18]
push 0x86
push ecx
mov dword [esp + 0x78], edx
call fcn.00408ba0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 8
cmp esi, edx
je 0x4223ee
mov eax, dword [esi + 8]
mov ecx, dword [0x469bc8]
mov eax, dword [eax]
push eax
push ecx
call fcn.00429c46
add esp, 8
test eax, eax
je 0x4223d9
mov esi, dword [esi + 4]
lea eax, [esp + 0x1c]
cmp esi, eax
jne 0x4223b3
jmp 0x4223ee
mov esi, dword [esi + 8]
push 0x1f
lea ecx, [esp + 0x4c]
mov esi, dword [esi]
push esi
push ecx
call fcn.0042a590
add esp, 0xc
mov al, byte [esp + 0x48]
test al, al
jne 0x42241c
mov edi, 0x463ef0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x469bc0]
mov edx, dword [0x469bbc]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x2c]
and ecx, 0x12c
push eax
add ecx, 0x190
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call fcn.0043cebb
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
add ebp, 0x178
mov dword [0x470f0c], ebx
mov dword [0x470f10], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], 1
test eax, eax
je 0x4224ee
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp edx, eax
mov dword [esp + 0x10], eax
mov esi, edx
je 0x4224e0
jmp 0x42249f
mov edx, dword [esp + 0x18]
mov ecx, esi
lea eax, [esi + 4]
cmp ecx, edx
mov esi, dword [eax]
jne 0x4224b9
mov edx, dword [edx + 4]
mov dword [esp + 0x18], edx
mov dword [edx], 0
jmp 0x4224c6
mov edx, dword [ecx]
mov edi, dword [eax]
mov dword [edx + 4], edi
mov eax, dword [eax]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
dec edx
test ecx, ecx
mov dword [esp + 0x28], edx
je 0x4224da
push 1
call fcn.00408de0
cmp esi, dword [esp + 0x10]
jne 0x42249b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.0040f750
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], 0xffffffff
test ecx, ecx
je 0x42250e
mov esi, ecx
call fcn.004352b6
push esi
call fcn.00435865
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret