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

Disassembly:
sub esp, 0xac
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
push esi
mov esi, dword [esp + 0xcc]
push edi
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0x6c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [0x4f7a80]
mov ecx, eax
shl ecx, 6
sub ecx, eax
shl ecx, 4
mov edx, dword [ecx + 0x492860]
xor ebp, ebp
cmp edx, ebp
je 0x427180
cmp dword [ecx + 0x4925c8], 2
jne 0x426dc7
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0xc8]
add edx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x70]
push ebp
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
add ecx, eax
push ebp
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
call fcn.004112b0
add esp, 0xc
test eax, eax
je 0x427199
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub esi, ebp
sub edi, edx
test esi, esi
jne 0x426d56
test edi, edi
je 0x426dc0
mov ecx, dword [0x4f7a80]
mov eax, ecx
shl eax, 6
sub eax, ecx
mov ecx, dword [0x71a7b4]
push ecx
shl eax, 4
mov ecx, dword [eax + 0x4925d0]
push ecx
xor ecx, ecx
mov ch, byte [eax + 0x4925f0]
xor ebx, ebx
mov bl, byte [eax + 0x4925f2]
mov cl, byte [eax + 0x4925f1]
mov eax, dword [0x462000]
shl ecx, 8
or ecx, ebx
push ecx
mov ecx, dword [0x4eeb80]
push eax
imul eax, edx
push edi
add ecx, eax
lea edx, [ebp + ebp*2]
add edx, ecx
push esi
push edx
call fcn.0042ba35
mov eax, dword [0x4f7a80]
mov ebx, dword [esp + 0xe8]
add esp, 0x1c
jmp 0x426dc5
mov eax, dword [0x4f7a80]
xor ebp, ebp
mov ecx, dword [esp + 0xd0]
mov esi, 1
cmp ecx, esi
jne 0x426ddd
movsx bx, byte [ebx]
jmp 0x426de6
xor edx, edx
mov dl, byte [ebx + 1]
mov dh, byte [ebx]
mov ebx, edx
mov ecx, eax
shl ecx, 0xe
xor edx, edx
mov dword [0x4f7a90], ebp
add ecx, 0x496b78
cmp word [ecx], bx
je 0x426e0c
inc edx
add ecx, 0x20
cmp edx, 0x200
jb 0x426df9
jmp 0x426e48
shl eax, 9
add eax, edx
shl eax, 5
mov ecx, dword [eax + 0x496b80]
mov edx, dword [eax + 0x496b7c]
cmp edx, ebp
mov dword [esp + 0x10], ecx
lea esi, [eax + 0x496b84]
mov ecx, 5
lea edi, [esp + 0x30]
mov dword [0x4f7a90], edx
rep movsd dword es:[edi], dword [esi]
jne 0x426f78
mov esi, 1
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x44]
push edx
push ebp
push ebp
lea eax, [esp + 0x3c]
push eax
mov edi, ebx
push 6
and edi, 0xffff
push edi
mov word [esp + 0x5c], bp
mov word [esp + 0x60], bp
mov word [esp + 0x62], bp
mov word [esp + 0x64], bp
mov word [esp + 0x66], bp
mov word [esp + 0x68], bp
mov ebp, dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
push ecx
mov word [esp + 0x62], si
mov word [esp + 0x6e], si
call ebp
mov esi, eax
test esi, esi
jne 0x426ea6
mov esi, dword [esp + 0x34]
imul esi, dword [esp + 0x30]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x44]
push edx
push eax
push esi
mov dword [0x4f7a90], eax
lea eax, [esp + 0x3c]
push eax
push 6
push edi
push ecx
call ebp
mov edx, dword [esp + 0x30]
lea ecx, [edx + 3]
mov edx, dword [0x4f7a80]
mov eax, edx
and ecx, 0xfffffffc
shl eax, 0xe
xor esi, esi
mov dword [esp + 0x10], ecx
add eax, 0x496b78
cmp word [eax], bx
je 0x427151
inc esi
add eax, 0x20
cmp esi, 0x200
jb 0x426eed
test esi, esi
je 0x426f78
mov ebp, dword [edx*4 + 0x4f7a38]
mov ecx, edx
shl ecx, 9
add ecx, ebp
shl ecx, 5
mov eax, dword [ecx + 0x498b7c]
test eax, eax
je 0x426f2e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [0x4f7a80]
mov ecx, dword [0x4f7a90]
mov eax, edx
shl eax, 9
add eax, ebp
shl eax, 5
mov word [eax + 0x498b78], bx
mov dword [eax + 0x498b7c], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x498b80], ecx
inc ebp
cmp ebp, 0x100
lea edi, [eax + 0x498b84]
mov ecx, 5
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
jbe 0x426f71
xor ebp, ebp
mov dword [edx*4 + 0x4f7a38], ebp
mov eax, dword [esp + 0xc0]
lea edx, [esp + 0x84]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [0x4f7a80]
mov esi, dword [esp + 0x3c]
mov ecx, eax
shl ecx, 6
sub ecx, eax
mov eax, dword [esp + 0x38]
shl ecx, 4
mov edx, dword [ecx + 0x4925cc]
mov ecx, dword [esp + 0xc4]
add ecx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xc8]
sub eax, esi
mov esi, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x30]
add esi, eax
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], eax
add edx, ecx
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov edi, ecx
mov ebp, edx
mov dword [esp + 0x8c], esi
call fcn.004112b0
add esp, 0xc
test eax, eax
je 0x427199
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub eax, ebp
mov ebp, dword [esp + 0x80]
add eax, ecx
xor ecx, ecx
mov cl, byte [0x4deb79]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
mov ebx, esi
sub ebx, edi
mov edi, dword [esp + 0x20]
sub eax, ebp
mov ebp, dword [0x4eeb7c]
mov dword [esp + 0x54], ecx
add eax, edi
mov edi, dword [0x4deb78]
mov ecx, edx
sub ecx, dword [esp + 0x78]
and edi, 0xff
and ebp, 0xff
cmp ecx, eax
mov dword [esp + 0x60], ebx
jae 0x427199
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
imul edx, ecx
add edx, ebx
lea esi, [esi + esi*2]
sub eax, ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], eax
mov esi, dword [0x462000]
imul esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
mov eax, dword [0x4eeb80]
add esi, ecx
add esi, eax
mov eax, dword [0x4f7a90]
lea ecx, [edx + eax]
mov eax, dword [esp + 0x58]
cmp ebx, eax
jae 0x427128
sub eax, ebx
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [esp + 0x64], ecx
test eax, eax
je 0x42711a
shl eax, 8
xor ecx, ecx
mov cl, byte [esi]
shr eax, 6
imul eax, dword [esp + 0x5c]
shr eax, 8
mov ebx, ebp
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
xor ecx, ecx
mov cl, byte [esi + 1]
mov byte [esi], bl
mov ebx, edi
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
xor ecx, ecx
mov cl, byte [esi + 2]
mov byte [esi + 1], bl
mov ebx, dword [esp + 0x54]
sub ebx, ecx
imul ebx, eax
shr ebx, 8
add bl, cl
mov ecx, dword [esp + 0x64]
mov byte [esi + 2], bl
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
add esi, 3
dec eax
mov dword [esp + 0x2c], eax
jne 0x4270bb
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add edx, esi
inc ecx
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x42708d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
mov eax, dword [0x4f7a90]
shl edx, 9
add edx, esi
shl edx, 5
mov dword [edx + 0x496b7c], eax
mov dword [edx + 0x496b80], ecx
lea edi, [edx + 0x496b84]
mov ecx, 5
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
jmp 0x426f78
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push esi
push ebx
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret