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

Disassembly:
sub esp, 0x64
mov edx, dword [esp + 0x68]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
or eax, 0xffffffff
mov ecx, 2
cmp dword [edi + ecx*4], edx
je 0x479ff4
inc ecx
cmp ecx, 0xc
jl 0x479fe7
jmp 0x479ff6
mov eax, ecx
fld dword [0x5a1414]
lea ecx, [eax - 1]
cmp ecx, 4
push ebx
push ebp
mov edx, eax
jl 0x47a0b1
lea ebx, [eax - 1]
shr ebx, 2
lea edx, [ebx*4]
lea esi, [edi + eax*4 - 8]
sub eax, edx
mov edx, eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebp, dword [ecx + 0x50]
cmp ebp, dword [eax + 0x50]
jne 0x47a037
fld dword [ecx + 0x54]
fsub dword [eax + 0x54]
jmp 0x47a043
fld dword [0x5b5af8]
fsub dword [eax + 0x54]
fadd dword [ecx + 0x54]
mov ecx, dword [esi]
faddp st(1)
mov ebp, dword [eax + 0x50]
cmp ebp, dword [ecx + 0x50]
jne 0x47a057
fld dword [eax + 0x54]
fsub dword [ecx + 0x54]
jmp 0x47a063
fld dword [0x5b5af8]
fsub dword [ecx + 0x54]
fadd dword [eax + 0x54]
mov eax, dword [esi - 4]
faddp st(1)
mov ebp, dword [ecx + 0x50]
cmp ebp, dword [eax + 0x50]
jne 0x47a078
fld dword [ecx + 0x54]
fsub dword [eax + 0x54]
jmp 0x47a084
fld dword [0x5b5af8]
fsub dword [eax + 0x54]
fadd dword [ecx + 0x54]
mov ecx, dword [esi - 8]
faddp st(1)
mov ebp, dword [eax + 0x50]
cmp ebp, dword [ecx + 0x50]
jne 0x47a099
fld dword [eax + 0x54]
fsub dword [ecx + 0x54]
jmp 0x47a0a5
fld dword [0x5b5af8]
fsub dword [ecx + 0x54]
fadd dword [eax + 0x54]
sub esi, 0x10
faddp st(1)
dec ebx
jne 0x47a021
cmp edx, 2
jl 0x47a0e1
mov eax, dword [edi + edx*4]
mov ecx, dword [edi + edx*4 - 4]
mov esi, dword [eax + 0x50]
cmp esi, dword [ecx + 0x50]
jne 0x47a0cd
fld dword [eax + 0x54]
fsub dword [ecx + 0x54]
jmp 0x47a0d9
fld dword [0x5b5af8]
fsub dword [ecx + 0x54]
fadd dword [eax + 0x54]
dec edx
faddp st(1)
cmp edx, 2
jge 0x47a0b6
mov eax, dword [edi]
fcom dword [0x5a1414]
mov ebx, dword [eax + 0x64]
mov ecx, dword [eax + 0x54]
mov ebp, dword [eax + 0x50]
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x10]
add esi, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x38], ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x40], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x4c], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [0x5d7d84]
mov dword [esp + 0x50], ecx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x58], ecx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x5c], eax
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x60], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x68], ecx
mov eax, dword [esi + 0x38]
mov dword [esp + 0x6c], eax
fnstsw ax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x14], edx
mov ecx, 0x10
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
xor dl, dl
test ah, 0x41
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
jne 0x47a2e2
mov edi, 0x5c96f4
jmp 0x47a1b0
fld dword [0x5b5af8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x47a1c7
fld dword [0x5b5af8]
jmp 0x47a1c9
fld st(0)
fld dword [esp + 0x78]
fsub st(1)
fstp dword [esp + 0x78]
fstp st(0)
fsub dword [0x5b5af8]
fst dword [esp + 0x18]
fld dword [esp + 0x78]
fcomp dword [0x5a1414]
fnstsw ax
test ah, 0x41
jp 0x47a269
fld dword [esp + 0x78]
mov ebp, dword [ebp + 0x58]
test ebp, ebp
fadd dword [0x5b5af8]
fstp dword [esp + 0x78]
jne 0x47a269
mov ebx, dword [ebx + 0x50]
test ebx, ebx
jne 0x47a263
mov edx, dword [esp + 0x10]
fstp st(0)
mov eax, dword [edx + 0x30]
push eax
call fcn.004690c0
mov esi, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [esi + 0x30], eax
jne 0x47a22c
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x30]
push ecx
call fcn.00469030
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov cl, byte [eax + 0x64]
add esp, 4
test cl, cl
jne 0x47a25a
lea ebx, [ebx]
mov eax, dword [eax + 0x50]
mov cl, byte [eax + 0x64]
test cl, cl
je 0x47a250
mov ebx, dword [eax + 0x50]
fld dword [esp + 0x18]
mov dl, 1
mov eax, dword [ebx + 0x44]
mov ebp, dword [eax + 4]
fcom dword [0x5a1414]
fnstsw ax
test ah, 0x41
je 0x47a1b0
test dl, dl
fstp st(0)
je 0x47a2e4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
add eax, 0x30
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov esi, dword [ecx]
lea ecx, [esp + 0x34]
add esi, 0x10
push ecx
mov ecx, esi
call fcn.00500000
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x34]
mov eax, dword [edx]
push eax
call fcn.0056bb80
add esi, 0x20
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.004ff2b0
fchs
mov ecx, dword [edi + 0x18]
fstp dword [esp + 8]
add esp, 8
call fcn.004f4930
jmp 0x47a2e4
fstp st(0)
lea ecx, [esp + 0x28]
call fcn.005035c0
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x78]
add edx, 0x10
push edx
lea eax, [esp + 0x2c]
push eax
push esi
mov ecx, ebp
call fcn.005045d0
mov edi, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push esi
push ebp
mov ecx, edi
call fcn.00479a60
pop ebp
xor esi, esi
pop ebx
lea esp, [esp]
mov ecx, dword [edi + esi*4]
push 0
call fcn.004db150
inc esi
cmp esi, 0xc
jl 0x47a320
pop edi
pop esi
add esp, 0x64
ret 4