Function at 0x4c2370
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 0x4c248c
dec eax
jne 0x4c258f
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jl 0x4c2575
jne 0x4c258f
fld qword [edi + 0x78]
fcomp qword [0x5c8870]
fnstsw ax
test ah, 1
je 0x4c240e
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 0x4c23ea
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c23dc
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 [0x5c8868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5c8870]
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 0x4c2475
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 0x4c2451
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c2443
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 [0x5c8868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4c2598
jmp 0x4c256e
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jg 0x4c2575
jne 0x4c258f
fld qword [edi + 0x78]
fcomp qword [0x5c8870]
fnstsw ax
test ah, 1
je 0x4c24f9
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 0x4c24d5
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c24c7
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 [0x5c8868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5c8870]
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 0x4c2560
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 0x4c253c
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4c252e
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 [0x5c8868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4c2583
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 0x4c2384
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