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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c64dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x70]
mov ebp, dword [esi + 0x38]
call fcn.004cd180
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1e0], 0
call fcn.004cd180
fld qword [esi + 0x18]
fld qword [esi + 0x10]
fpatan
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
mov bl, 1
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e8], bl
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3ff00000
fstp qword [esp + 0x1c]
call fcn.004cd670
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.004cd6e0
lea edx, [esp + 0xe8]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x164]
push eax
push ecx
call fcn.004cd460
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e4], 2
call fcn.004cd410
lea ecx, [esp + 0x160]
mov byte [esp + 0x1e0], bl
call fcn.0042bd50
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0
push 0
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x100]
call fcn.004cd730
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x164]
push ecx
push edx
call fcn.004cd460
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e4], 3
call fcn.004cd410
mov byte [esp + 0x1e0], bl
lea ecx, [esp + 0x160]
call fcn.0042bd50
mov ax, word [ebp]
test ax, ax
je 0x42eeae
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call sub.etinfo.dll_struct_mgTypePoint____cdecl_ETF_GetFontData_unsigned_short_int__int___double__
add esp, 0xc
test eax, eax
je 0x42ee60
mov ecx, dword [esp + 0x14]
xor ebx, ebx
test ecx, ecx
jle 0x42ee60
mov edi, eax
mov ecx, edi
mov eax, dword [ecx]
test al, 6
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
jne 0x42ee20
push 3
call dword [sym.imp.opengl32.dll_glBegin]
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.004cd3d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.opengl32.dll_glVertex2f]
mov eax, dword [esp + 0x20]
and eax, 6
cmp al, 4
jne 0x42ee54
call dword [sym.imp.opengl32.dll_glEnd]
mov eax, dword [esp + 0x14]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x42edfe
fld qword [esp + 0x4c]
fmul qword [esi + 0x28]
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
push ecx
lea ecx, [esp + 0x74]
fadd qword [esi + 0x30]
mov dword [esp + 0x70], 0
fst qword [esp + 0x30]
fmul qword [esi + 0x18]
fld qword [esp + 0x30]
fmul qword [esi + 0x10]
fstp qword [esp + 0x5c]
fstp qword [esp + 0x64]
call fcn.004cd640
mov ax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x42eddb
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1e0], 0
call fcn.0042bd50
lea ecx, [esp + 0x70]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x1d8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret