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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
xor edx, edx
mov ebx, ecx
mov eax, esi
div dword [ebx + 0x20]
mov eax, dword [ebx + 0x28]
push edi
xor edi, edi
mov edx, dword [eax + edx*4]
cmp edx, edi
je 0x4bf253
cmp esi, dword [edx + 8]
je 0x4bf22d
mov edx, dword [edx]
cmp edx, edi
jne 0x4bf220
jmp 0x4bf253
add edx, 4
cmp edx, edi
je 0x4bf253
mov ecx, dword [edx]
push ecx
mov ecx, ebx
call fcn.004c5bd0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
imul edx, edx, 0x2c
lea eax, [edx + eax + 0xc]
cmp eax, edi
jne 0x4bf321
mov edx, dword [ebx + 0x60]
cmp edx, edi
je 0x4bf31f
cmp dword [ebx + 0x58], edi
je 0x4bf31f
cmp esi, 0x901
mov word [esp + 0x12], 1
mov word [esp + 0x10], di
mov eax, dword [esp + 0x10]
mov word [esp + 0x16], di
mov word [esp + 0x14], di
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
jb 0x4bf2c2
cmp esi, 0x97f
ja 0x4bf2c2
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x10], ecx
jmp 0x4bf2e9
cmp esi, 0x4e00
jb 0x4bf2db
cmp esi, 0x9fbb
ja 0x4bf2db
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x10], edx
jmp 0x4bf2e9
push esi
push str.unsized_unicode__x_n
call fcn.005a2410
add esp, 8
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push edi
push edi
lea ecx, [esp + 0x44]
push ecx
push 5
push esi
push edx
call dword [sym.imp.GDI32.dll_GetGlyphOutlineW]
mov ebp, eax
cmp ebp, edi
je 0x4bf30e
cmp ebp, 0xffffffff
jne 0x4bf32b
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x4bf31f
push eax
call fcn.00499410
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x44]
add eax, 3
cdq
and edx, 3
add eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
sar eax, 2
mov edi, 1
cmp ebp, edi
mov dword [esp + 0x4c], eax
jb 0x4bf35a
add edi, edi
cmp edi, ebp
jbe 0x4bf354
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
shr ecx, 0x17
and ecx, 0xff
sub ecx, 0x7f
js 0x4bf37d
mov eax, 1
shl eax, cl
jmp 0x4bf37f
xor eax, eax
cmp eax, edi
je 0x4bf3e0
push edi
call fcn.004991a0
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x4bf3e0
mov ecx, dword [esp + 0x1c]
shr ecx, 1
cmp ecx, edi
jbe 0x4bf3a0
mov ecx, edi
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4bf3d7
test ecx, ecx
je 0x4bf3c6
mov esi, edx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x54]
test edx, edx
je 0x4bf3d7
push edx
call fcn.00499410
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x18], eax
nop
lea esp, [esp]
mov edx, dword [esp + 0x1c]
lea eax, [ebp + ebp]
mov ecx, eax
xor ecx, edx
and ecx, 1
xor ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x44]
push ecx
push 5
push esi
push edx
call dword [sym.imp.GDI32.dll_GetGlyphOutlineW]
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.004bf530
mov edi, dword [ebx + 0x10]
cmp edi, 0xffffffff
jne 0x4bf449
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x4bf43a
push eax
mov ecx, ebx
call fcn.004c6270
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, ebx
call fcn.004c5560
jmp 0x4bf4ac
mov edx, dword [ebx + 0x14]
mov esi, edi
imul esi, esi, 0x2c
mov ecx, dword [esi + edx]
lea eax, [esi + edx]
mov dword [ebx + 0x10], ecx
mov dword [eax], 0xffffffff
mov edx, dword [ebx + 0x14]
mov dword [esi + edx + 4], 0xffffffff
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x30]
lea ebp, [esi + eax + 0xc]
push ecx
mov ecx, ebp
call fcn.004c51e0
lea edx, [esp + 0x38]
push edx
lea ecx, [ebp + 8]
call fcn.004bf1d0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx + 0x14]
mov dword [esi + ecx + 8], edx
inc dword [ebx + 4]
push edi
mov ecx, ebx
call fcn.004c5bd0
mov esi, dword [esp + 0x54]
xor edx, edx
mov eax, esi
div dword [ebx + 0x20]
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4bf4cb
lea ecx, [ecx]
cmp esi, dword [edx + 8]
je 0x4bf50e
mov edx, dword [edx]
test edx, edx
jne 0x4bf4c0
xor esi, esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4bf4de
push eax
call fcn.00499410
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
and edx, 1
test eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
je 0x4bf502
push eax
call fcn.00499410
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
add edx, 4
test edx, edx
je 0x4bf4cb
mov ecx, dword [edx]
push ecx
mov ecx, ebx
call fcn.004c5bd0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x14]
imul edx, edx, 0x2c
lea esi, [edx + eax + 0xc]
jmp 0x4bf4cd