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

Disassembly:
sub esp, 0xf8
push ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x10], ecx
push 0x15
mov ecx, ebx
call fcn.0077f970
fld dword [esp + 0x10c]
mov ecx, dword [esp + 0x104]
fmul dword [esp + 0x10c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
cmp eax, edx
fstp dword [esp + 0x20]
mov dword [esp + 8], eax
je 0x78478d
push ebp
push esi
push edi
lea esp, [esp]
mov ecx, dword [eax]
movzx edx, word [ecx + 0x12]
mov esi, dword [esp + 0x1c]
test dword [esi], edx
mov dword [esp + 0x24], ecx
jne 0x784771
mov edi, dword [ecx + 0x1c]
test edi, edi
mov dword [esp + 0x30], edi
je 0x784771
mov si, word [edi + 4]
test si, si
jbe 0x784771
push 1
lea eax, [esp + 0xcc]
push eax
call fcn.007632b0
mov eax, dword [esp + 0x114]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xcc]
push edx
push eax
call fcn.00486610
movzx ecx, word [edi + 2]
add esp, 0xc
test si, si
mov byte [esp + 0x13], 0
lea ebp, [ecx + edi + 0x10]
mov dword [esp + 0x20], 0
jbe 0x78476d
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov dl, byte [ebp + 0xd]
test byte [eax], dl
jne 0x784755
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.007627b0
fst dword [esp + 0x18]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x784755
fld dword [ebp + 4]
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 5
jp 0x784600
fld dword [ebp + 4]
jmp 0x784603
fld dword [ebp + 0x14]
fld dword [esp + 0x38]
fadd dword [esp + 0x118]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x784755
fld dword [ebp + 4]
fcomp dword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x78462f
fld dword [ebp + 4]
jmp 0x784632
fld dword [ebp + 0x14]
fld dword [esp + 0x38]
fsub dword [esp + 0x118]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jp 0x784755
mov al, byte [esp + 0x13]
test al, al
jne 0x7846aa
lea edx, [esp + 0x88]
mov ecx, 0x10
lea esi, [esp + 0xc8]
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push edx
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0x3f800000
call fcn.005c8cc0
add esp, 4
mov byte [esp + 0x13], 1
lea eax, [esp + 0x40]
mov ecx, 8
mov esi, ebp
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov edx, eax
push edx
call fcn.00486610
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
push ecx
mov edx, eax
push edx
call fcn.00486610
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
movzx edx, word [eax + 6]
add edx, eax
movzx eax, word [eax + 2]
mov ecx, 8
lea esi, [esp + 0x58]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
movzx ecx, byte [esp + 0x64]
lea ecx, [edx + ecx*4 + 0x10]
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
push 0
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x7c]
push edx
push eax
push ecx
lea eax, [esp + 0x50]
push eax
call fcn.0077cb70
mov edx, dword [esp + 0x54]
add esp, 0x2c
lea ecx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00780960
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
movzx ecx, word [edi + 4]
add ebp, 0x20
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x7845c0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
mov ecx, dword [edx + 8]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x784540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 0x10