Function at 0x4b5250
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 0x4b536c
dec eax
jne 0x4b546f
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jl 0x4b5455
jne 0x4b546f
fld qword [edi + 0x78]
fcomp qword [0x5ba870]
fnstsw ax
test ah, 1
je 0x4b52ee
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 0x4b52ca
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4b52bc
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 [0x5ba868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5ba870]
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 0x4b5355
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 0x4b5331
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4b5323
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 [0x5ba868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4b5478
jmp 0x4b544e
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jg 0x4b5455
jne 0x4b546f
fld qword [edi + 0x78]
fcomp qword [0x5ba870]
fnstsw ax
test ah, 1
je 0x4b53d9
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 0x4b53b5
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4b53a7
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 [0x5ba868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5ba870]
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 0x4b5440
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 0x4b541c
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4b540e
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 [0x5ba868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4b5463
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 0x4b5264
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