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

Disassembly:
sub esp, 0x68
push edi
mov edi, eax
test edi, edi
mov byte [esp + 4], 0
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0xff
je 0x4e0652
mov eax, dword [0x16d88b8]
test eax, eax
jne 0x4e017c
push 0x5048
call fcn.00431900
push 1
push eax
push 0x10
push str.fonts_normalFont
mov dword [0x16d88b8], eax
call fcn.004dee00
add esp, 0x14
push esi
push 0x16c5408
call dword [0x16c4020]
push 0x1701
call dword [0x16c408c]
push 0x16c5498
call dword [0x16c4020]
push 0x1700
call dword [0x16c408c]
push 0
push 0
push 0
push 0
call dword [0x16c46bc]
or esi, 0xffffffff
test edi, edi
jle 0x4e063b
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
add ebp, 0x10
mov dword [esp + 0x1c], edi
nop
fld dword [0x568e60]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 5
jnp 0x4e01fc
fld dword [ebp - 4]
fld dword [0x568e64]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4e01fc
fld dword [0x568e64]
jmp 0x4e0217
fld dword [0x568e60]
fcomp dword [ebp - 4]
fnstsw ax
test ah, 5
jp 0x4e0214
fld dword [0x568e60]
jmp 0x4e0217
fld dword [ebp - 4]
fmul dword [0x568ec0]
call fcn.00538be0
fld dword [0x568e60]
fcomp dword [ebp]
mov byte [esp + 0x14], al
fnstsw ax
test ah, 5
jnp 0x4e0252
fld dword [ebp]
fld dword [0x568e64]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4e0252
fld dword [0x568e64]
jmp 0x4e026d
fld dword [0x568e60]
fcomp dword [ebp]
fnstsw ax
test ah, 5
jp 0x4e026a
fld dword [0x568e60]
jmp 0x4e026d
fld dword [ebp]
fmul dword [0x568ec0]
call fcn.00538be0
fld dword [0x568e60]
fcomp dword [ebp + 4]
mov byte [esp + 0x15], al
fnstsw ax
test ah, 5
jnp 0x4e02a8
fld dword [ebp + 4]
fld dword [0x568e64]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4e02a8
fld dword [0x568e64]
jmp 0x4e02c3
fld dword [0x568e60]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 5
jp 0x4e02c0
fld dword [0x568e60]
jmp 0x4e02c3
fld dword [ebp + 4]
fmul dword [0x568ec0]
call fcn.00538be0
fld dword [0x568e60]
fcomp dword [ebp + 8]
mov byte [esp + 0x16], al
fnstsw ax
test ah, 5
jnp 0x4e02fe
fld dword [ebp + 8]
fld dword [0x568e64]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x4e02fe
fld dword [0x568e64]
jmp 0x4e0319
fld dword [0x568e60]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 5
jp 0x4e0316
fld dword [0x568e60]
jmp 0x4e0319
fld dword [ebp + 8]
fmul dword [0x568ec0]
call fcn.00538be0
fld dword [ebp + 0xc]
fmul dword [0x568e70]
mov ecx, dword [ebp - 0xc]
fld dword [0x16d89f0]
mov edx, dword [ebp - 8]
mov byte [esp + 0x17], al
fmul st(1)
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x48], eax
lea eax, [ebp + 0x10]
fstp dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
fld dword [0x16d89f4]
mov cl, byte [eax]
test cl, cl
fmul st(1)
mov dword [esp + 0x50], edx
fstp dword [esp + 0x34]
fld dword [0x16d89f8]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [0x16d89fc]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [0x16d8a00]
fmul st(1)
fstp dword [esp + 0x40]
fmul dword [0x16d8a04]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
fld dword [esp + 0x40]
fadd dword [esp + 0x34]
fld dword [esp + 0x44]
fadd dword [esp + 0x38]
fstp dword [esp + 0x5c]
fxch st(1)
fmul dword [0x568fa0]
fstp dword [esp + 0x54]
fmul dword [0x568fa0]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul dword [0x568fa0]
fstp dword [esp + 0x5c]
je 0x4e0624
mov ebx, eax
jmp 0x4e03e0
movzx eax, byte [ebx]
mov edx, dword [0x16d88b8]
lea edi, [eax + eax*4]
shl edi, 4
mov eax, dword [edi + edx + 0x2c]
add edi, edx
cmp esi, eax
je 0x4e049e
mov esi, dword [0x16d8868]
mov dword [esp + 0x18], eax
cmp esi, dword [0x16c397c]
mov dword [0x16d8e5c], 0x16d9134
mov dword [esp + 0x20], esi
je 0x4e0485
mov eax, dword [0x16c3abc]
test eax, eax
je 0x4e042d
call fcn.0050bb80
jmp 0x4e047b
mov eax, dword [0x16c3ad8]
test eax, eax
je 0x4e047b
cmp esi, 3
jne 0x4e047b
mov eax, dword [0x197ff80]
push 0x17bff60
push 0
push 0x1406
push eax
call dword [0x16c4810]
push 0x1827f60
push 0xc
push 0x1406
call dword [0x16c435c]
mov ecx, dword [0x1877f60]
push ecx
push 0
push 0x1406
push 2
call dword [0x16c3cc0]
mov edx, dword [esp + 0x20]
mov dword [0x16c397c], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax*4 + 0x16cb84c]
push 3
call fcn.004ff570
mov esi, dword [esp + 0x1c]
add esp, 4
fild dword [edi + 0x14]
fmul dword [esp + 0x30]
fstp dword [esp + 0x6c]
fild dword [edi + 0x14]
fmul dword [esp + 0x34]
fstp dword [esp + 0x70]
fild dword [edi + 0x14]
fmul dword [esp + 0x38]
fstp dword [esp + 0x74]
fild dword [edi + 0x18]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x60]
fild dword [edi + 0x18]
fmul dword [esp + 0x40]
fstp dword [esp + 0x64]
fild dword [edi + 0x18]
fmul dword [esp + 0x44]
fstp dword [esp + 0x68]
fild dword [edi + 0x14]
fmul dword [esp + 0x30]
fsubr dword [esp + 0x48]
fstp dword [esp + 0x24]
fild dword [edi + 0x14]
fmul dword [esp + 0x34]
fsubr dword [esp + 0x4c]
fstp dword [esp + 0x28]
fild dword [edi + 0x14]
fmul dword [esp + 0x38]
fsubr dword [esp + 0x50]
fstp dword [esp + 0x2c]
fld dword [edi + 8]
fadd st(0), st(0)
fisub dword [edi + 0x18]
fmul dword [esp + 0x3c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [edi + 8]
fadd st(0), st(0)
fisub dword [edi + 0x18]
fmul dword [esp + 0x40]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [edi + 8]
fadd st(0), st(0)
fisub dword [edi + 0x18]
fmul dword [esp + 0x44]
fadd dword [esp + 0x2c]
fld dword [esp + 0x24]
fadd dword [esp + 0x54]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x58]
fstp dword [esp + 0x28]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0050fe20
fld dword [esp + 0x44]
fsub dword [esp + 0x74]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fsub dword [esp + 0x78]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x4c]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0050fe20
fld dword [edi + 0x10]
fmul dword [0x568fa0]
mov al, byte [ebx + 1]
fld dword [esp + 0x70]
add esp, 0x40
inc ebx
test al, al
fmul st(1)
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esp + 0x34]
fmul st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fmul dword [esp + 0x38]
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
jne 0x4e03e0
mov eax, dword [esp + 0x1c]
add ebp, 0x80
dec eax
mov dword [esp + 0x1c], eax
jne 0x4e01d0
pop ebp
pop ebx
call fcn.005027c0
push 0x3ff00000
push 0
push 0
push 0
call dword [0x16c46bc]
pop esi
pop edi
add esp, 0x68
ret