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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov ebx, ecx
movzx ebp, word [esp + 0x34]
mov dword [ebx], 0
mov edx, 0xffff
xor eax, eax
mov dword [ebx + 0xc], 0
mov dword [esp + 4], eax
mov dword [ebx + 4], edx
mov dword [ebx + 0x18], 0
push ebp
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x78], 0
call fcn.007b4d18
mov edi, eax
push edi
call fcn.00520f3c
add esp, 8
test eax, eax
je 0x7afdf9
mov edx, dword [edi + 0xa8]
xor esi, esi
test edx, edx
jle 0x7affa1
lea ebp, [esi + esi]
add ebp, ebp
sub ebp, esi
add ebp, ebp
add ebp, ebp
sub ebp, esi
add ebp, ebp
add ebp, ebp
mov edx, dword [edi + 0xa4]
test edx, edx
je 0x7aff96
lea edx, [edx + ebp + 0x1c]
push edx
push dword [esp + 0x34]
call fcn.007a9180
add esp, 8
fld dword [esp + 0x2c]
fmul st(0)
fcomp st(1)
fnstsw ax
sahf
ja 0x7afd95
fstp st(0)
jmp 0x7afddf
movzx eax, word [edi + 0x1c]
mov edx, 1
mov dword [esp + 4], edx
mov edx, dword [ebx]
add edx, edx
add edx, edx
lea ecx, [edx + edx]
add ecx, edx
mov dword [ecx + ebx + 4], eax
mov edx, dword [ebx]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
fstp dword [eax + ebx + 0xc]
mov edx, dword [ebx]
add edx, edx
add edx, edx
lea eax, [edx + edx]
add eax, edx
mov dword [eax + ebx + 8], esi
mov edx, dword [ebx]
cmp edx, 9
jge 0x7aff8d
add edx, 1
mov dword [ebx], edx
add ebp, 0x2c
add esi, 1
cmp esi, dword [edi + 0xa8]
jl 0x7afd65
mov eax, dword [ebx]
mov dword [esp + 8], eax
jmp 0x7afdff
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
lea eax, [ebx + 4]
mov dword [esp], eax
add edx, 0xffffffff
test edx, edx
mov dword [esp + 8], edx
jle 0x7aff7f
mov ebp, 0xffffffff
lea esi, [edx + edx]
add esi, esi
lea eax, [esi + esi]
add eax, esi
fld dword [eax + ebx + 0xc]
mov dword [esp + 0xc], eax
jmp 0x7afe86
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
lea eax, [ebp + ebp]
add eax, eax
lea edi, [eax + eax]
add edi, eax
mov eax, dword [edi + ebx + 4]
mov ebp, dword [edi + ebx + 8]
mov esi, dword [edi + ebx + 0xc]
lea ecx, [edx + edx]
add ecx, ecx
lea edx, [ecx + ecx]
add edx, ecx
mov ecx, dword [edx + ebx + 4]
mov dword [edi + ebx + 4], ecx
mov ecx, dword [edx + ebx + 8]
mov dword [edi + ebx + 8], ecx
mov ecx, dword [edx + ebx + 0xc]
mov dword [edi + ebx + 0xc], ecx
mov dword [edx + ebx + 4], eax
mov dword [edx + ebx + 8], ebp
mov ebp, dword [esp + 0x10]
mov dword [edx + ebx + 0xc], esi
mov edx, dword [esp + 0x14]
add ebp, 1
lea esi, [ebp + ebp]
add esi, esi
lea edi, [esi + esi]
add edi, esi
fcom dword [edi + ebx + 0xc]
fnstsw ax
sahf
jbe 0x7afeb7
lea eax, [ebp + ebp]
add eax, eax
lea esi, [eax + eax]
add esi, eax
add esi, 0xc
fcom dword [esi + ebx + 0xc]
fnstsw ax
add ebp, 1
sahf
ja 0x7afea8
add edx, 0xffffffff
cmp ebp, edx
jge 0x7afef5
lea esi, [edx + edx]
add esi, esi
lea edi, [esi + esi]
add edi, esi
fcom dword [edi + ebx + 0xc]
fnstsw ax
sahf
jae 0x7afef5
add edx, 0xffffffff
cmp ebp, edx
jge 0x7afef5
lea eax, [edx + edx]
add eax, eax
lea esi, [eax + eax]
add esi, eax
fcom dword [esi + ebx + 0xc]
fnstsw ax
sahf
jae 0x7afef5
add esi, 0xfffffff4
add edx, 0xffffffff
cmp ebp, edx
jl 0x7afee2
cmp ebp, edx
jge 0x7affac
cmp ebp, 0xa
jge 0x7affb7
cmp edx, 0xa
jl 0x7afe31
fstp st(0)
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + ebx + 4]
mov dword [esp + 0x10], ebp
lea edx, [ebp + ebp]
add edx, edx
lea edi, [edx + edx]
add edi, edx
mov edx, dword [edi + ebx + 4]
mov ebp, dword [edi + ebx + 8]
mov esi, dword [edi + ebx + 0xc]
mov dword [edi + ebx + 4], ecx
mov ecx, dword [eax + ebx + 8]
mov dword [edi + ebx + 8], ecx
mov ecx, dword [eax + ebx + 0xc]
mov dword [edi + ebx + 0xc], ecx
mov dword [eax + ebx + 4], edx
mov dword [eax + ebx + 8], ebp
mov ebp, dword [esp + 0x10]
mov dword [eax + ebx + 0xc], esi
lea eax, [ebp - 1]
push eax
mov ecx, ebx
push 0
mov eax, dword [esp + 8]
push eax
call fcn.007ada38
mov eax, dword [esp + 8]
push eax
add ebp, 1
mov ecx, ebx
push ebp
mov edx, dword [esp + 8]
push edx
call fcn.007ada38
mov eax, dword [esp + 4]
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov dword [esp + 8], edx
jmp 0x7afdff
mov eax, dword [ebx]
mov dword [esp + 8], eax
jmp 0x7afdff
mov eax, dword [ebx]
mov dword [esp + 8], eax
jmp 0x7afdff
fstp st(0)
mov eax, dword [esp + 0xc]
jmp 0x7aff15
fstp st(0)
mov eax, dword [esp + 0xc]
jmp 0x7aff15