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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x74], edi
xor ecx, ecx
mov ebx, ecx
imul ebx, ebx, 0x4ac
add ebx, esi
cmp byte [ebx + 4], 0
lea eax, [ebx + 4]
jne 0x48036f
push 0x4ac
push 0
push eax
call fcn.004cce10
mov byte [ebx + 4], 1
movzx ecx, byte [edi]
mov byte [ebx + 5], cl
movzx edx, byte [edi + 1]
mov byte [ebx + 6], dl
movzx eax, byte [edi + 2]
mov byte [ebx + 7], al
movzx ecx, byte [edi + 3]
mov byte [ebx + 8], cl
movzx edx, byte [edi + 4]
mov byte [ebx + 9], dl
movzx eax, byte [edi + 5]
mov byte [ebx + 0xa], al
movzx ecx, byte [edi + 6]
mov byte [ebx + 0xb], cl
add esp, 0xc
fld dword [edi + 0x4c]
fstp dword [ebx + 0xa8]
fld dword [edi + 0x50]
mov dword [ebx + 0x98], 0
fstp dword [ebx + 0xac]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
cmp eax, ecx
je 0x47fd22
sub eax, ecx
push eax
call fcn.0043b9c0
add esp, 4
add eax, dword [edi + 0x34]
mov dword [ebx + 0x94], eax
fld dword [edi + 0x48]
fld dword [edi + 0x44]
mov dword [ebp - 0x1c], eax
fucompp
fnstsw ax
fld dword [edi + 0x48]
test ah, 0x44
jnp 0x47fd82
fstp dword [ebp - 0x14]
fld dword [edi + 0x44]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fld dword [ebp - 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x47fd63
fstp dword [ebp - 0x18]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x18]
fstp dword [ebp - 0x18]
jmp 0x47fd67
fstp st(0)
fstp st(0)
call fcn.0043ba40
fld dword [ebp - 0x14]
fld dword [ebp - 0x18]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fmulp st(2)
faddp st(1)
cmp byte [ebx + 0xa], 0
fstp dword [ebx + 0x9c]
je 0x47feaf
xor edx, edx
mov word [ebx + 0xe], dx
mov eax, dword [edi + 0x74]
mov dword [ebx + 0xb0], eax
mov ecx, dword [edi + 0x78]
mov dword [ebx + 0xb4], ecx
mov edx, dword [edi + 0x7c]
mov dword [ebx + 0xb8], edx
mov eax, dword [edi + 0x80]
mov dword [ebx + 0xbc], eax
mov ecx, dword [edi + 0x84]
mov dword [ebx + 0xc0], ecx
mov edx, dword [edi + 0x88]
mov dword [ebx + 0xc4], edx
mov eax, dword [edi + 0x8c]
mov dword [ebx + 0xc8], eax
mov ecx, dword [edi + 0x90]
mov dword [ebx + 0xcc], ecx
mov edx, dword [edi + 0x94]
mov dword [ebx + 0xd0], edx
mov eax, dword [edi + 0x98]
mov dword [ebx + 0xd4], eax
mov ecx, dword [edi + 0x9c]
mov dword [ebx + 0xd8], ecx
mov edx, dword [edi + 0xa0]
mov dword [ebx + 0xdc], edx
mov eax, dword [edi + 0xa4]
mov dword [ebx + 0xe0], eax
mov ecx, dword [edi + 0xa8]
mov dword [ebx + 0xe4], ecx
mov edx, dword [edi + 0xac]
mov dword [ebx + 0xe8], edx
mov eax, dword [edi + 0xb0]
mov dword [ebx + 0xec], eax
mov ecx, dword [edi + 0xb4]
mov dword [ebx + 0xf0], ecx
mov edx, dword [edi + 0xb8]
mov dword [ebx + 0xf4], edx
mov eax, dword [edi + 0xbc]
mov dword [ebx + 0xf8], eax
mov ecx, dword [edi + 0xc0]
mov dword [ebx + 0xfc], ecx
mov edx, dword [edi + 0xc4]
mov dword [ebx + 0x100], edx
mov eax, dword [edi + 0xc8]
mov dword [ebx + 0x104], eax
mov ecx, dword [edi + 0xcc]
mov dword [ebx + 0x108], ecx
mov edx, dword [edi + 0xd0]
mov dword [ebx + 0x10c], edx
cmp byte [ebx + 5], 0
je 0x47fece
lea esi, [edi + 0xd4]
lea edi, [ebx + 0x110]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x74]
cmp byte [ebx + 9], 0
je 0x47ff2c
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x50], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0x44], ecx
mov edx, dword [edi + 0x10]
mov dword [ebx + 0x48], edx
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x4c], eax
fld dword [ebx + 0x44]
mov eax, dword [ebx + 0x50]
fadd dword [eax]
fstp dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
fld dword [ebx + 0x48]
fadd dword [eax + 4]
fstp dword [ebp - 0x88]
mov edx, dword [ebp - 0x88]
fld dword [ebx + 0x4c]
fadd dword [eax + 8]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], edx
fstp dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
jmp 0x47ff3b
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0x14], ecx
mov edx, dword [edi + 0x10]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x1c], eax
fld dword [edi + 0x24]
fadd dword [ebx + 0x20]
fstp dword [ebx + 0x20]
fld dword [edi + 0x28]
fadd dword [ebx + 0x24]
fstp dword [ebx + 0x24]
fld dword [edi + 0x2c]
fadd dword [ebx + 0x28]
fstp dword [ebx + 0x28]
mov ecx, dword [edi + 0x18]
mov dword [ebx + 0x2c], ecx
fild dword [ebp - 0x1c]
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0x30], edx
mov eax, dword [edi + 0x20]
fstp dword [ebp - 0x1c]
mov dword [ebx + 0x34], eax
mov ecx, dword [edi + 0x3c]
mov dword [ebx + 0xa0], ecx
mov edx, dword [edi + 0x40]
mov dword [ebx + 0xa4], edx
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [ebx + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [ebx + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x60], eax
mov ecx, dword [edi + 0x64]
mov dword [ebx + 0x64], ecx
mov edx, dword [edi + 0x68]
mov dword [ebx + 0x68], edx
mov eax, dword [edi + 0x6c]
mov dword [ebx + 0x6c], eax
mov ecx, dword [edi + 0x70]
mov dword [ebx + 0x70], ecx
fld dword [edi + 0x70]
fsub dword [edi + 0x60]
fld dword [ebp - 0x1c]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [ebx + 0x74]
fld dword [edi + 0x64]
fsub dword [edi + 0x54]
fdiv st(1)
fstp dword [ebx + 0x78]
fld dword [edi + 0x68]
fsub dword [edi + 0x58]
fdiv st(1)
fstp dword [ebx + 0x7c]
fld dword [edi + 0x6c]
fsub dword [edi + 0x5c]
fdivrp st(1)
fstp dword [ebx + 0x80]
fld dword [edi + 0x60]
fstp dword [ebx + 0x84]
fld dword [edi + 0x54]
fstp dword [ebx + 0x88]
fld dword [edi + 0x58]
fstp dword [ebx + 0x8c]
fld dword [edi + 0x5c]
fstp dword [ebx + 0x90]
mov al, byte [edi + 7]
mov byte [ebx + 0xc], al
test al, al
jne 0x480230
mov ecx, dword [edi + 8]
test ecx, ecx
jns 0x480026
xor ecx, ecx
jmp 0x480033
cmp ecx, 0xf423f
jle 0x480033
mov ecx, 0xf423f
push ecx
xor eax, eax
lea edx, [ebp - 0x10]
push 0x4e6600
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
call fcn.004cce8a
lea eax, [ebp - 0x10]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480057
sub eax, edx
mov dword [ebp - 0x3c], eax
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x48036a
fld1
lea ecx, [ebx + 0x170]
fst dword [ebp - 0x2c]
fldz
fst dword [ebp - 0x28]
fst dword [ebp - 0x24]
fst dword [ebp - 0x60]
fst dword [ebp - 0x5c]
fst dword [ebp - 0x34]
fst dword [ebp - 0x30]
fst dword [ebp - 0x44]
fstp dword [ebp - 0x40]
fst dword [ebp - 0x64]
fst dword [ebp - 0x38]
fstp dword [ebp - 0x48]
fld qword [0x4e4498]
mov eax, dword [ebp - 0x18]
mov al, byte [ebp + eax - 0x10]
cmp al, 0x20
jne 0x4800bb
mov eax, 0xa
jmp 0x4800c1
movsx eax, al
sub eax, 0x30
fld dword [esi + eax*4 + 0x25c30]
mov edx, dword [ebp - 0x2c]
fstp dword [ecx - 4]
fld dword [esi + eax*4 + 0x25c5c]
fstp dword [ecx]
fld dword [esi + eax*4 + 0x25c04]
fstp dword [ecx + 0x20]
fld dword [esi + eax*4 + 0x25c5c]
fstp dword [ecx + 0x24]
fld dword [esi + eax*4 + 0x25c30]
fstp dword [ecx + 0x44]
fld dword [esi + eax*4 + 0x25c88]
fstp dword [ecx + 0x48]
fld dword [esi + eax*4 + 0x25c04]
fstp dword [ecx + 0x68]
fld dword [esi + eax*4 + 0x25c88]
mov eax, dword [ebp - 0x28]
mov dword [ecx - 0x14], edx
fstp dword [ecx + 0x6c]
mov edx, dword [ebp - 0x24]
fnstcw word [ebp - 0x12]
mov dword [ecx - 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [ecx - 0xc], edx
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x14], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x34], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], eax
fld dword [ebx + 0x84]
movzx eax, word [ebp - 0x12]
fmul st(1)
or eax, 0xc00
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
shl edx, 8
fldcw word [ebp - 0x12]
fld dword [ebx + 0x88]
fnstcw word [ebp - 0x12]
fmul st(1)
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
fldcw word [ebp - 0x12]
shl edx, 8
fld dword [ebx + 0x8c]
fnstcw word [ebp - 0x12]
fmul st(1)
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
fldcw word [ebp - 0x12]
shl edx, 8
fld dword [ebx + 0x90]
fnstcw word [ebp - 0x12]
fmul st(1)
movzx eax, word [ebp - 0x12]
or eax, 0xc00
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
add ecx, 0x90
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
fldcw word [ebp - 0x12]
mov eax, edx
mov dword [ecx - 0x50], eax
mov dword [ecx - 0x2c], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ecx - 0x98], edx
mov dword [ecx - 0x74], edx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x3c]
jl 0x4800a9
fstp st(0)
jmp 0x48036a
cmp al, 1
jne 0x48036a
mov dword [ebx + 0x10], 1
fld dword [esi + 0x25cb8]
fstp dword [ebx + 0x16c]
fld dword [esi + 0x25cbc]
fstp dword [ebx + 0x170]
fld dword [esi + 0x25cb4]
fstp dword [ebx + 0x190]
fld dword [esi + 0x25cbc]
fstp dword [ebx + 0x194]
fld dword [esi + 0x25cb8]
fstp dword [ebx + 0x1b4]
fld dword [esi + 0x25cc0]
fstp dword [ebx + 0x1b8]
fld dword [esi + 0x25cb4]
fstp dword [ebx + 0x1d8]
fld dword [esi + 0x25cc0]
fstp dword [ebx + 0x1dc]
fld1
fst dword [ebp - 0x58]
fldz
mov ecx, dword [ebp - 0x58]
fst dword [ebp - 0x54]
mov dword [ebx + 0x15c], ecx
fst dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
fxch st(1)
mov eax, dword [ebp - 0x50]
fst dword [ebp - 0x70]
fxch st(1)
mov dword [ebx + 0x160], edx
mov ecx, dword [ebp - 0x70]
fst dword [ebp - 0x6c]
fst dword [ebp - 0x68]
mov dword [ebx + 0x164], eax
mov edx, dword [ebp - 0x6c]
fxch st(1)
mov eax, dword [ebp - 0x68]
fst dword [ebp - 0x80]
fxch st(1)
mov dword [ebx + 0x180], ecx
mov ecx, dword [ebp - 0x80]
fst dword [ebp - 0x7c]
fst dword [ebp - 0x78]
mov dword [ebx + 0x184], edx
mov edx, dword [ebp - 0x7c]
fxch st(1)
fstp dword [ebp - 0x98]
mov dword [ebx + 0x188], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x1a4], ecx
mov ecx, dword [ebp - 0x98]
fst dword [ebp - 0x94]
mov dword [ebx + 0x1a8], edx
mov edx, dword [ebp - 0x94]
fstp dword [ebp - 0x90]
mov dword [ebx + 0x1ac], eax
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x1c8], ecx
mov dword [ebx + 0x1cc], edx
mov dword [ebx + 0x1d0], eax
or eax, 0xffffffff
mov dword [ebx + 0x168], eax
mov dword [ebx + 0x18c], eax
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1d4], eax
mov ecx, 0x80
inc ecx
cmp ecx, 0x80
jl 0x47fc93
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ccd49
mov esp, ebp
pop ebp
ret 4