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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
mov eax, dword [0x100cea68]
xor eax, esp
mov dword [esp + 0x1e8], eax
cmp dword [0x100d5670], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
je 0x100633f6
test eax, eax
js 0x100633eb
cmp eax, dword [0x100d5668]
jge 0x100633eb
mov eax, dword [0x100d566c]
shl ecx, 5
mov dword [esp + 0x1c], ecx
mov si, word [ecx + eax + 0x12]
mov ebx, dword [ecx + eax + 0xc]
mov edi, dword [ecx + eax + 8]
mov word [esp + 0xc], si
mov cl, byte [esp + 0xc]
mov dword [esp + 0x14], ebx
xor ebx, ebx
test cl, 1
jne 0x100633c2
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x5c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
push ebx
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
call fcn.10062a5b
mov edx, eax
lea ecx, [esp + 0x7c]
call fcn.10062e9b
push ebx
lea eax, [esp + 0x93]
mov byte [esp + 0x93], 1
push eax
push 0x1005e790
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0xfffff800
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
lea ecx, [esp + 0x78]
call fcn.1005ec5d
mov dword [esp + 0x24], eax
test eax, eax
je 0x1006338a
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x1b0], ax
lea eax, [esp + 0x1b0]
push eax
push 0x20
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetTextFaceW]
lea edx, [esp + 0x94]
lea ecx, [esp + 0x1b0]
call fcn.1005f9d9
test eax, eax
je 0x100631fe
push ebx
push ebx
push ebx
push 2
pop eax
mov edx, eax
lea ecx, [esp + 0x1bc]
call fcn.10076d1b
and eax, 0xf00000
and edx, ebx
or eax, edx
je 0x100631f6
push ebx
push ebx
push ebx
push 2
pop edx
lea ecx, [esp + 0xa0]
call fcn.10076d1b
and eax, 0xc0
and edx, ebx
or eax, edx
jne 0x100631fe
push 2
pop eax
or si, ax
jmp 0x1006321f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.10062bdb
mov edi, eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x18], ebx
je 0x10063224
or si, 0x10
mov word [esp + 0xc], si
push ebx
push ebx
push ebx
push 0x4854414d
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetFontData]
mov ecx, 0x80
test eax, eax
jle 0x10063255
mov eax, dword [esp + 0x14]
or si, cx
mov word [esp + 0xc], si
or edi, 0x30001c8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x73], bl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.1005ed09
mov al, byte [esp + 0x73]
shr al, 2
and al, 1
movzx esi, al
mov eax, dword [esp + 0xc]
and eax, 0xfffb
shl si, 2
or si, ax
mov eax, 0xfff7
and si, ax
test byte [esp + 0x73], 0xe
push 0
pop eax
sete al
shl ax, 3
or si, ax
mov word [esp + 0xc], si
mov dl, byte [esp + 0xc]
test dl, 2
jne 0x1006330a
mov ecx, dword [esp + 0x14]
mov eax, edi
and eax, 0x80000
and ecx, 0x2000
cmp eax, 0x80000
jne 0x1006330a
cmp ecx, ebx
jne 0x1006330a
cmp dword [esp + 0x44], ebx
je 0x100632f3
mov eax, dword [esp + 0x40]
cdq
idiv dword [esp + 0x44]
cmp eax, 3
jge 0x100632f3
push 0x40
pop eax
jmp 0x100632f5
mov eax, ebx
mov esi, dword [esp + 0xc]
and esi, 0xffbf
or esi, eax
mov word [esp + 0xc], si
mov dl, byte [esp + 0xc]
test dl, 4
je 0x10063372
lea eax, [esp + 0xd8]
mov ecx, 0xd8
push eax
push ecx
push dword [esp + 0x18]
mov dword [esp + 0xe4], ecx
call dword [sym.imp.GDI32.dll_GetOutlineTextMetricsW]
test byte [esp + 0x124], 0x80
je 0x10063372
mov ecx, dword [0x100d566c]
mov eax, 0x100
mov edx, dword [esp + 0x1c]
or si, ax
mov ax, word [esp + 0x13c]
mov word [edx + ecx + 0x18], ax
mov eax, dword [esp + 0x140]
neg eax
mov word [edx + ecx + 0x1a], ax
mov ax, word [esp + 0x144]
mov word [edx + ecx + 0x1c], ax
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [esp + 0x14]
inc eax
or si, ax
mov eax, dword [0x100d566c]
mov word [esp + 0xc], si
or dword [ecx + eax + 8], edi
or dword [ecx + eax + 0xc], edx
mov edx, dword [esp + 0x28]
mov word [ecx + eax + 0x12], si
mov cl, byte [esp + 0xc]
test edx, edx
jne 0x100633ce
mov edx, dword [esp + 0x14]
mov eax, edi
jmp 0x100633fa
mov eax, dword [esp + 0x14]
mov dword [edx], edi
or edi, eax
mov dword [edx + 4], eax
je 0x100633e5
test cl, 2
jne 0x100633e5
xor eax, eax
inc eax
jmp 0x100633e7
mov eax, ebx
mov edx, ebx
jmp 0x100633fa
test edx, edx
je 0x100633f6
xor ebx, ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c6890
mov esp, ebp
pop ebp
ret