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

Disassembly:
sub esp, 0x708
push ebx
mov ebx, dword [esp + 0x710]
xor eax, eax
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x80], eax
cmp ecx, eax
jle 0x47c326
push ebp
lea edx, [ebx + 0xa4]
push esi
push edi
mov dword [esp + 0x80], edx
jmp 0x47b789
xor eax, eax
mov ebp, dword [edx]
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], eax
lea edi, [esp + 0xa0]
mov eax, dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov dword [esp + 0x14], eax
lea esi, [ebp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x7c], 0
fld dword [esp + 0x14]
fcomp dword [0x5333ec]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
fnstsw ax
mov dword [esp + 0x24], ecx
mov ecx, 6
test ah, 0x41
rep movsd dword es:[edi], dword [esi]
jne 0x47c251
lea edx, [esp + 0x240]
lea eax, [esp + 0x1d0]
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x1cc]
lea edx, [esp + 0x1c8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edx
fld dword [esp + 0x1c]
fmul dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul dword [esp + 0x14]
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
cmp eax, ecx
mov byte [esp + 0x13], 0
mov dword [esp + 0x150], ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul dword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fadd qword [esp + 0xa0]
fstp qword [esp + 0x190]
fld dword [esp + 0x5c]
fadd qword [esp + 0xa8]
fstp qword [esp + 0x198]
fld dword [esp + 0x60]
fadd qword [esp + 0xb0]
fstp qword [esp + 0x1a0]
je 0x47b8a0
mov eax, dword [eax]
mov dword [esp + 0x154], eax
jmp 0x47b8a7
mov dword [esp + 0x154], ecx
mov eax, dword [ebx + 0x70]
cmp eax, ecx
je 0x47b8b0
mov ecx, dword [eax]
mov edx, dword [ebp + 0x44]
lea eax, [esp + 0x14c]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
call fcn.00416830
push eax
lea ecx, [esp + 0x19c]
push 1
lea edx, [esp + 0xb0]
push ecx
lea eax, [esp + 0xd8]
push edx
push eax
call fcn.00416920
push eax
call fcn.004cc2a0
mov ecx, 6
lea esi, [esp + 0xc0]
lea edi, [esp + 0x18c]
mov eax, dword [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x1b0]
lea edi, [esp + 0x154]
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp eax, edi
je 0x47c179
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x38]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x1c0], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x1a8], ecx
mov ecx, dword [ebp + 0x30]
cmp eax, edi
mov dword [esp + 0x1ac], edx
mov dword [esp + 0x1c4], ecx
je 0x47b972
mov edx, dword [eax]
mov dword [esp + 0x1bc], edx
jmp 0x47b979
mov dword [esp + 0x1bc], edi
fld qword [esp + 0x190]
fsub qword [esp + 0xa0]
mov esi, dword [esp + 0x110]
cmp esi, edi
fstp dword [esp + 0x40]
fld qword [esp + 0x198]
fsub qword [esp + 0xa8]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x114]
fstp dword [esp + 0x88]
fld qword [esp + 0x1a0]
fsub qword [esp + 0xb0]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x1b4], ecx
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1b8], edx
je 0x47bfb4
cmp eax, edi
jne 0x47c079
cmp dword [esp + 0xc4], edi
je 0x47ba59
call fcn.00416840
mov edx, dword [esp + 0xc4]
and eax, 0xff
xor ecx, ecx
mov cx, word [edx + 0x1c]
lea eax, [eax + eax*2]
shl eax, 7
add eax, ecx
cmp dword [eax*4 + 0xa96ae0], edi
je 0x47ba59
call fcn.00416840
and eax, 0xff
xor edx, edx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc4]
shl ecx, 7
mov dx, word [eax + 0x1c]
add ecx, edx
lea edx, [esp + 0x1a8]
push edx
push eax
mov ecx, dword [ecx*4 + 0xa96ae0]
call ecx
add esp, 8
cmp dword [0x540838], 0xffffffff
je 0x47ba93
call fcn.004028b0
sub eax, dword [0x540838]
jns 0x47ba7c
call fcn.004028b0
mov ecx, dword [0x540838]
jmp 0x47ba88
call fcn.004028b0
mov ecx, eax
mov eax, dword [0x540838]
sub ecx, eax
mov eax, dword [0x5be3d8]
cmp ecx, eax
jle 0x47bb03
push 6
call fcn.00416d20
push eax
call fcn.004b47c0
shl eax, 5
add esp, 8
lea eax, [eax + esi + 0x154]
push eax
call fcn.004f0ee0
push eax
call fcn.004e6b00
add esp, 8
cmp eax, edi
je 0x47bad1
lea ecx, [esp + 0xcc]
push ecx
push eax
call fcn.004e6c30
add esp, 8
lea edx, [esp + 0xcc]
push edx
call fcn.0047c330
add esp, 4
call fcn.004028b0
push 6
mov dword [0x540838], eax
call fcn.00416d20
push eax
call fcn.004b47c0
add esp, 8
add eax, 6
mov dword [0x5be3d8], eax
cmp dword [esp + 0x84], edi
je 0x47bb20
mov dword [esp + 0x14], 0
mov dword [esp + 0x84], edi
jmp 0x47bddc
fld dword [esp + 0x58]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
fchs
fstp dword [esp + 0x64]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x64]
fchs
fstp dword [esp + 0x6c]
push eax
push ecx
call fcn.004b2b30
fstp dword [esp + 0x48]
fld dword [esi + 0x44]
fcomp dword [0x5333ec]
add esp, 8
fnstsw ax
test ah, 0x40
jne 0x47bba1
fld dword [esi + 0x44]
fmul dword [0x53367c]
fld dword [0x533468]
fsub dword [esp + 0x40]
fsubr st(1)
fdiv st(1)
fstp dword [esp + 0x90]
fstp st(0)
jmp 0x47bbac
mov dword [esp + 0x90], 0
mov al, byte [ebp + 0x40]
test al, al
jne 0x47bd85
call fcn.00416d20
push eax
call fcn.004b4770
fcomp dword [esp + 0x94]
add esp, 4
fnstsw ax
test ah, 1
je 0x47bd85
fld dword [esp + 0xfc]
fcomp dword [0x5333ec]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
fnstsw ax
test ah, 0x40
je 0x47bc34
fld dword [esp + 0x100]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47bc34
fld dword [esp + 0x104]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47bc84
fld dword [esp + 0x104]
fld dword [esp + 0x100]
fld dword [esp + 0xfc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0xfc]
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fmul dword [esp + 0x50]
jmp 0x47bc88
fld dword [esp + 0x50]
fld dword [esp + 0x40]
fcos
fmul dword [esp + 0x14]
fld st(0)
fmul dword [esp + 0x48]
fstp dword [esp + 0x48]
fld st(0)
fmul dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fmulp st(1)
fld dword [esp + 0x48]
fsub dword [esp + 0x64]
fld dword [esp + 0x4c]
fsub dword [esp + 0x68]
fstp dword [esp + 0x164]
fld st(1)
fsub dword [esp + 0x6c]
fstp dword [esp + 0x168]
fadd dword [esp + 0x48]
fstp dword [esp + 0x1c]
fld dword [esp + 0x164]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x20]
fld dword [esp + 0x168]
fadd st(1)
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x1c]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47bd25
fld dword [esp + 0x20]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47bd25
fld dword [esp + 0x24]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47bd6f
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fstp st(0)
lea edx, [esp + 0xcc]
mov byte [ebp + 0x40], 1
push edx
call fcn.0047c330
add esp, 4
jmp 0x47bddc
fld dword [ebp + 0x3c]
fsub dword [esi + 0x40]
fcom dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47bdb7
fstp st(0)
call fcn.00416d20
push eax
call fcn.004b4770
fcomp dword [0x53369c]
add esp, 4
fnstsw ax
test ah, 1
je 0x47bdd4
jmp 0x47bdc4
fcomp dword [0x5333e0]
fnstsw ax
test ah, 1
jne 0x47bdd4
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x13], 1
cmp eax, edi
jne 0x47bddc
mov dword [esp + 0x14], 0
cmp dword [esp + 0x18], 0xa
jge 0x47c079
mov eax, dword [esi + 0x258]
cmp dword [eax + 0x58], edi
je 0x47c079
mov edx, dword [esp + 0x38]
mov cx, word [esi + 0x254]
fld dword [esp + 0xfc]
fcomp dword [0x5333ec]
mov edi, dword [esp + 0x28]
mov word [edx], cx
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x258]
mov edx, dword [esp + 0xfc]
lea esi, [esp + 0xc4]
mov dword [ecx], eax
mov eax, dword [esp + 0x100]
mov ecx, 0x1c
mov dword [esp + 0x30], eax
rep movsd dword es:[edi], dword [esi]
fnstsw ax
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x2c], edx
test ah, 0x40
mov dword [esp + 0x34], ecx
je 0x47be7f
fld dword [esp + 0x100]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
je 0x47be7f
fld dword [esp + 0x104]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x40
jne 0x47bed5
fld dword [esp + 0x104]
fld dword [esp + 0x100]
fld dword [esp + 0xfc]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr qword [0x5333f8]
fld dword [esp + 0xfc]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fstp st(0)
fld qword [esp + 0x16c]
fsub qword [esp + 0x134]
fld qword [esp + 0x174]
fsub qword [esp + 0x13c]
fstp dword [esp + 0x74]
fld qword [esp + 0x17c]
fsub qword [esp + 0x144]
fst dword [esp + 0x78]
fmul dword [esp + 0x34]
fld dword [esp + 0x74]
fmul dword [esp + 0x30]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
mov edx, eax
mov edi, dword [esp + 0x44]
faddp st(1)
inc esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
fld st(1)
fmul dword [esp + 0x2c]
faddp st(1)
fld st(0)
fmul dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esp + 0x2c]
fld st(0)
fmul dword [esp + 0x30]
fadd st(0), st(0)
fstp dword [esp + 0x30]
fmul dword [esp + 0x34]
fadd st(0), st(0)
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fsub st(1)
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
fstp st(0)
fld dword [esp + 0x30]
fsub dword [esp + 0x74]
mov dword [edx], ecx
fstp dword [esp + 0x74]
fld dword [esp + 0x34]
fsub dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [edx + 4], ecx
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x38]
mov ecx, 0x88
add edx, ecx
add edi, ecx
add esi, ecx
add eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x54], eax
jmp 0x47c079
cmp eax, edi
je 0x47c079
cmp dword [esp + 0x18], 0xa
jge 0x47c06e
mov edx, dword [esp + 0x38]
mov cx, word [eax + 0x25c]
mov edi, dword [esp + 0x28]
lea esi, [esp + 0xc4]
mov word [edx], cx
mov ecx, dword [eax + 0x260]
mov eax, dword [esp + 0x44]
add edx, 0x88
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x40]
add eax, 0x88
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x3c]
add edx, 0x88
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x54]
mov esi, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
mov dword [esi], edi
mov edi, dword [esp + 0xbc]
mov dword [esi + 4], edi
mov edi, dword [esp + 0xc0]
mov dword [esi + 8], edi
mov esi, dword [esp + 0x18]
inc esi
add ecx, 0x88
mov dword [esp + 0x18], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x84], 1
fld qword [esp + 0x124]
fsubr dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [0x534148]
fld dword [esp + 0x98]
fmul dword [0x534148]
mov eax, dword [esp + 0x11c]
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x94], edx
fstp dword [esp + 0x98]
fld dword [esp + 0x9c]
fmul dword [0x534148]
fstp dword [esp + 0x9c]
fadd qword [esp + 0xcc]
fstp qword [esp + 0xa0]
fld dword [esp + 0x98]
fadd qword [esp + 0xd4]
fstp qword [esp + 0xa8]
fld dword [esp + 0x9c]
fadd qword [esp + 0xdc]
fstp qword [esp + 0xb0]
je 0x47c133
mov ecx, 6
lea esi, [esp + 0xcc]
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x13]
mov byte [ebp + 0x41], cl
mov edx, dword [ebx + 0x6c]
mov eax, dword [edx]
test eax, eax
je 0x47c235
mov eax, dword [eax + 0x12c]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x47c235
mov eax, dword [ebx + 0x98]
test eax, eax
jle 0x47c183
mov dl, byte [ebp + 0x40]
test dl, dl
jne 0x47c183
test cl, cl
jne 0x47c183
dec eax
mov dword [ebx + 0x98], eax
jmp 0x47c235
mov dword [esp + 0x14], 0
jmp 0x47c133
fld qword [esp + 0x16c]
fsub qword [esp + 0x134]
fstp dword [esp + 0x184]
fld qword [esp + 0x174]
fsub qword [esp + 0x13c]
fstp dword [esp + 0x188]
fld qword [esp + 0x17c]
fsub qword [esp + 0x144]
fld dword [esp + 0x188]
fld dword [esp + 0x184]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fcom dword [0x5333ec]
fnstsw ax
test ah, 0x41
jne 0x47c233
fadd dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x98], 0xa
mov ecx, dword [ebp + 0x34]
push 0x1e
push ecx
lea ecx, [esp + 0x13c]
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0x17c]
push ecx
push edx
push ebx
call fcn.0047c4c0
mov eax, dword [esp + 0x58]
add esp, 0x1c
mov dword [esp + 0x7c], eax
jmp 0x47c235
fstp st(0)
fld dword [esp + 0x14]
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x41
je 0x47b80e
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x47c2d4
lea esi, [esp + 0x210]
mov al, byte [ebp + 0x40]
test al, al
jne 0x47c2a2
mov ecx, dword [esp + 0x18]
dec ecx
cmp edi, ecx
jge 0x47c279
mov eax, 1
jmp 0x47c2a4
fld dword [esi + 0x30]
fmul dword [esi - 8]
fld dword [esi + 0x34]
fmul dword [esi - 4]
faddp st(1)
fld dword [esi + 0x38]
fmul dword [esi]
faddp st(1)
fcomp dword [0x5333ec]
fnstsw ax
test ah, 0x41
je 0x47c2a2
mov eax, 1
jmp 0x47c2a4
xor eax, eax
mov ecx, dword [esi - 0x44]
lea edx, [esi + 0x30]
push edx
mov dx, word [esi - 0x48]
push eax
lea eax, [esi - 0x40]
push eax
push ecx
push edx
call fcn.004083c0
mov eax, dword [esp + 0x2c]
add esp, 0x14
inc edi
add esi, 0x88
cmp edi, eax
jl 0x47c262
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov dword [ebp], 0
mov eax, dword [ebx + 0x94]
lea esi, [eax - 1]
cmp ecx, esi
jge 0x47c2fc
mov eax, dword [ebx + eax*4 + 0xa0]
dec ecx
mov dword [edx], eax
sub edx, 4
mov eax, dword [ebx + 0x94]
add edx, 4
dec eax
inc ecx
cmp ecx, eax
mov dword [ebx + 0x94], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], edx
jl 0x47b787
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x708
ret