Function at 0x4a2990
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 0x4a2aac
dec eax
jne 0x4a2baf
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jl 0x4a2b95
jne 0x4a2baf
fld qword [edi + 0x78]
fcomp qword [0x5a8870]
fnstsw ax
test ah, 1
je 0x4a2a2e
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 0x4a2a0a
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4a29fc
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 [0x5a8868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5a8870]
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 0x4a2a95
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 0x4a2a71
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4a2a63
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 [0x5a8868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x4a2bb8
jmp 0x4a2b8e
mov eax, dword [esi + 0x74]
mov ecx, dword [edi + 0x74]
cmp ecx, eax
jg 0x4a2b95
jne 0x4a2baf
fld qword [edi + 0x78]
fcomp qword [0x5a8870]
fnstsw ax
test ah, 1
je 0x4a2b19
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 0x4a2af5
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4a2ae7
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 [0x5a8868]
fstp qword [edi + 0x78]
fld qword [esi + 0x78]
fcomp qword [0x5a8870]
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 0x4a2b80
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 0x4a2b5c
movsx ebx, byte [eax + ecx]
add edx, ebx
mov ebx, dword [eax - 8]
inc ecx
cmp ecx, ebx
jb 0x4a2b4e
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 [0x5a8868]
fstp qword [esi + 0x78]
fld qword [esi + 0x78]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4a2ba3
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 0x4a29a4
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