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

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xec], eax
push edi
push ebx
push 2
neg eax
push 0
mov ebp, dword [esp + 0x2c]
sbb eax, eax
push 0
push 0
and eax, 0x12c
push 0
push 0
add eax, 0x190
mov dword [esi + 0x104], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0xf0], edx
mov edx, dword [esp + 0x68]
push 0
push eax
push 0
mov dword [esi + 0xf8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x100], edx
mov edx, dword [esp + 0x40]
push 0
push 0
push ebp
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xe8], edx
mov dword [esp + 0x74], 0
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xec]
push edi
push ebx
neg eax
push 2
push 0
sbb eax, eax
push 0
push 0
and eax, 0xc8
push 0
push 0
add eax, 0x2bc
push 0
push eax
push 0
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
push edi
mov dword [esp + 0x28], eax
call ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [esp + 0x30]
push edx
push 0xff
push 0
push edi
call dword [sym.imp.GDI32.dll_GetCharWidthA]
mov ecx, dword [esi + 0xe8]
mov dword [esp + 0x34], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x4be19d
mov eax, dword [esi + 0xf8]
cmp eax, 2
jne 0x4be0c4
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0xa4]
push ecx
push edx
jmp 0x4be173
mov ecx, dword [edi + 8]
test cl, 2
je 0x4be108
cmp eax, 4
je 0x4be0b3
test eax, eax
je 0x4be0b3
mov eax, dword [esi + 0xa4]
push ebp
push eax
call ebx
mov eax, dword [esi + 0xf8]
cmp eax, 5
je 0x4be0f3
cmp eax, 7
jne 0x4be175
mov eax, dword [edi + 0xc]
push 2
push 0x66686c
push eax
call fcn.0055c1b0
add esp, 0xc
jmp 0x4be175
test cl, 4
je 0x4be146
cmp eax, 4
je 0x4be0b3
cmp eax, 1
je 0x4be0b3
mov eax, dword [esi + 0xa4]
push ebp
push eax
call ebx
mov eax, dword [esi + 0xf8]
cmp eax, 6
je 0x4be131
cmp eax, 7
jne 0x4be175
mov eax, dword [edi + 0xc]
push 2
push 0x6667f0
push eax
call fcn.0055c1b0
add esp, 0xc
jmp 0x4be175
test cl, 8
je 0x4be175
cmp eax, 8
je 0x4be167
mov eax, dword [esi + 0x78]
mov cl, byte [eax + 0x2ed]
test cl, cl
jne 0x4be167
mov ecx, dword [esi + 0xa4]
push ebp
push ecx
jmp 0x4be173
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0xa4]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x48]
push ecx
push edi
mov ecx, esi
call fcn.004be630
cmp eax, dword [esp + 0x34]
jle 0x4be18c
mov dword [esp + 0x34], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edi, eax
test edi, edi
jne 0x4be0a8
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4be1c4
mov ecx, dword [esi + 0xf4]
test ecx, ecx
jne 0x4be1c4
mov edi, dword [esp + 0x2c]
add eax, 6
mov ecx, dword [esp + 0x34]
imul eax, dword [edi + 0x14]
add ecx, eax
jmp 0x4be1cc
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x104]
test eax, eax
jne 0x4be1f5
mov eax, dword [esi + 0x78]
mov dl, byte [eax + 0x2ec]
neg dl
sbb edx, edx
and edx, 2
add edx, 2
add edx, dword [eax + 0x2b0]
imul edx, dword [edi + 0x14]
add ecx, edx
cmp ecx, dword [esp + 0x38]
jg 0x4be20c
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
imul eax, dword [esi + 0xf0]
cmp eax, ecx
jle 0x4be213
mov edi, 1
jmp 0x4be217
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0xa8]
push ecx
push edx
call ebx
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x3c