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

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x423b1a
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ebx
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00423840
add esp, 0x1c
pop ebx
add esp, 0x54
ret
cmp eax, 4
mov ecx, 0x20000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
jb 0x423b39
mov eax, 3
push esi
push edi
mov edi, dword [eax*4 + 0x473810]
mov eax, dword [eax*4 + 0x473820]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x74]
push ebx
push ebx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
push edi
push eax
push ecx
call dword [sym.imp.gdi32.dll_GetGlyphOutlineA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x423b8c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.0040ed70
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
sar word [esp + 0x48], 1
sar word [esp + 0x4a], 1
sar edx, 1
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x80]
shr ecx, 1
shr eax, 1
sar ebp, 1
cmp edx, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
je 0x423be4
mov ebx, edx
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0x4c]
mov dword [ebx + 0x10], ebp
xor ebx, ebx
cmp esi, ebx
je 0x423d07
cmp dword [esp + 0x68], ebx
je 0x423d0d
mov edx, dword [esp + 0x70]
cmp edx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
je 0x423c2d
lea eax, [esp + 0x1c]
push eax
push edx
push ebx
call fcn.00438750
add esp, 0xc
test al, al
je 0x423d15
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
sub ecx, edx
sub eax, ebp
push esi
mov ebx, ecx
mov dword [esp + 0x80], eax
call fcn.0044ea7e
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x423c5b
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x78]
push ebp
push esi
lea edx, [esp + 0x5c]
push edx
push edi
push eax
push ecx
call dword [sym.imp.gdi32.dll_GetGlyphOutlineA]
mov eax, dword [esp + 0x50]
lea esi, [eax + 3]
and esi, 0xfffffffc
push esi
push eax
mov eax, dword [esp + 0x5c]
mov ecx, ebp
call fcn.004237b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x24]
mov eax, esi
imul eax, ecx
imul ecx, edx
sub esi, ebx
add ecx, edi
add eax, ebp
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x70]
add eax, edi
add ecx, esi
add esp, 8
sub edx, ebx
mov edi, ecx
mov dword [esp + 0x14], edx
mov esi, ebx
movzx edx, byte [eax]
mov ecx, dword [esp + 0x10]
imul edx, edx, 0xff
shr edx, cl
inc edi
inc eax
dec esi
test esi, esi
mov byte [edi - 1], dl
jg 0x423cc2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x7c]
add edi, edx
dec ecx
test ecx, ecx
mov dword [esp + 0x7c], ecx
jg 0x423cc0
push ebp
call fcn.0045d8b5
add esp, 4
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x68], ebx
jne 0x423d15
cmp edx, ebx
je 0x423c51
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x54
ret