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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [edx - 4]
sub edx, 4
sub eax, 0
mov dword [esp + 0xc], edx
je 0x4c7f6c
dec eax
jne 0x4c806f
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jl 0x4c8055
jne 0x4c806f
fld qword [edi + 0x78]
fcomp qword [0x5e4cb8]
fnstsw ax
test ah, 1
je 0x4c7eee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
add eax, 8
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov ebx, dword [eax - 8]
test ebx, ebx
jbe 0x4c7eca
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c7ebc
mov eax, edx
xor edx, edx
mov ecx, 0x2710
mov dword [esp + 0x14], 0
div ecx
mov dword [esp + 0x10], edx
fild qword [esp + 0x10]
fmul qword [0x5e4cb0]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5e4cb8]
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
fnstsw ax
test ah, 1
je 0x4c7f55
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
add eax, 8
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov ebx, dword [eax - 8]
test ebx, ebx
jbe 0x4c7f31
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c7f23
mov eax, edx
xor edx, edx
mov ecx, 0x2710
mov dword [esp + 0x1c], 0
div ecx
mov dword [esp + 0x18], edx
fild qword [esp + 0x18]
fmul qword [0x5e4cb0]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4c8078
jmp 0x4c804e
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jg 0x4c8055
jne 0x4c806f
fld qword [edi + 0x78]
fcomp qword [0x5e4cb8]
fnstsw ax
test ah, 1
je 0x4c7fd9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
add eax, 8
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov ebx, dword [eax - 8]
test ebx, ebx
jbe 0x4c7fb5
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c7fa7
mov eax, edx
xor edx, edx
mov ecx, 0x2710
mov dword [esp + 0x2c], 0
div ecx
mov dword [esp + 0x28], edx
fild qword [esp + 0x28]
fmul qword [0x5e4cb0]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5e4cb8]
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
fnstsw ax
test ah, 1
je 0x4c8040
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
add eax, 8
xor ecx, ecx
xor edx, edx
mov eax, dword [eax]
mov ebx, dword [eax - 8]
test ebx, ebx
jbe 0x4c801c
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c800e
mov eax, edx
xor edx, edx
mov ecx, 0x2710
mov dword [esp + 0x34], 0
div ecx
mov dword [esp + 0x30], edx
fild qword [esp + 0x30]
fmul qword [0x5e4cb0]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4c8063
mov edx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebx], eax
mov ebx, edx
mov dword [ebp + 8], ebx
jmp 0x4c7e64
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov dword [edx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret