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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1cc
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
test byte [ebp + 0x10], 1
push edi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x198], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
je 0x4772a0
mov edi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
call fcn.00517b9f
add esp, 4
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.0045c040
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476430
shr eax, 1
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x47727d
fadd dword [0x5303b0]
fmul dword [ebp + 0x14]
mov eax, dword [esp + 0x3c]
cmp eax, 8
fsubr dword [esp + 0x10]
fstp dword [esp + 0x10]
jb 0x4772a8
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0051647d
add esp, 4
jmp 0x4772a8
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x1c]
fild dword [esi + 0x1c]
test eax, eax
jge 0x4772b8
fadd dword [0x5303b0]
mov ecx, dword [0x84587c]
fadd dword [esp + 0x18]
add ecx, 0x84
push ecx
lea ecx, [esp + 0x44]
fstp dword [esp + 0x1c]
call fcn.00475ff0
mov edx, dword [0x84587c]
add edx, 0x84
push edx
lea ecx, [esp + 0x60]
call fcn.00475ff0
mov eax, dword [0x84587c]
add eax, 0x84
push eax
lea ecx, [esp + 0x7c]
call fcn.00475ff0
mov ecx, dword [0x84587c]
add ecx, 0x84
push ecx
lea ecx, [esp + 0x98]
call fcn.00475ff0
mov edx, dword [ebp + 8]
mov ax, word [edx]
test ax, ax
je 0x4777f2
cmp ax, 0xa
jne 0x47735e
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x14]
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x477346
fadd dword [0x5303b0]
fmul dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x4777dd
cmp ax, 0xc000
ja 0x4775d3
test ah, ah
jns 0x4775d3
mov ecx, dword [esi + 0x42c]
mov edx, eax
and edx, 0x7fff
mov ebx, dword [ecx + edx*4]
test ebx, ebx
lea ecx, [ecx + edx*4]
je 0x4775d3
fld dword [esp + 0x10]
mov eax, dword [esp + 0x18]
fadd dword [0x5303b4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x70], 0x3f800000
fstp dword [esp + 0x10]
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xac], 0x3f800000
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov ecx, dword [ebx + 4]
and ecx, 0xfff
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x477411
fadd dword [0x5303b0]
fadd dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
fadd dword [0x5303b4]
fmul dword [ebp + 0x14]
fstp dword [esp + 0x5c]
mov eax, dword [ebx + 4]
shr eax, 0xc
and eax, 0xfff
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x477447
fadd dword [0x5303b0]
fadd dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
fadd dword [0x5303b4]
fmul dword [ebp + 0x14]
fstp dword [esp + 0x7c]
mov eax, dword [ebx + 4]
mov edx, eax
shr edx, 0xc
and edx, 0xfff
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x477480
fadd dword [0x5303b0]
fadd dword [esp + 0x18]
and eax, 0xfff
test eax, eax
mov dword [esp + 0x14], eax
fadd dword [0x5303b4]
fmul dword [ebp + 0x14]
fild dword [esp + 0x14]
jge 0x4774a4
fadd dword [0x5303b0]
fadd dword [esp + 0x10]
mov eax, dword [esi + 0x24]
test eax, eax
fadd dword [0x5303b4]
fmul dword [ebp + 0x14]
fstp dword [esp + 0x94]
fstp dword [esp + 0x98]
je 0x477590
mov dword [esp + 0x108], ebx
mov ecx, 0x1c
lea esi, [esp + 0x40]
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x160]
fadd dword [esp + 0x10c]
mov ecx, 7
lea esi, [esp + 0x160]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x24]
fld dword [esp + 0x164]
fadd dword [esp + 0x110]
fstp dword [esp + 0x28]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x1bc]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x1bc]
fmul dword [0x5303bc]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xec]
fld dword [esp + 0x1c0]
fmul dword [0x5303bc]
fstp dword [esp + 0xf0]
mov ecx, 7
lea esi, [esp + 0xec]
lea edi, [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x108]
push ecx
lea ecx, [eax + 4]
call fcn.00477170
mov esi, dword [esp + 0x1c]
jmp 0x4775a5
mov ecx, dword [0x84587c]
push 1
push 1
lea edx, [esp + 0x48]
push edx
push ebx
call fcn.00481b70
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x10]
and eax, 0xfff
add eax, ecx
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x4775c4
fadd dword [0x5303b0]
fadd dword [esp + 0x10]
fadd dword [0x5303b4]
jmp 0x4777d9
movzx ecx, ax
mov eax, ecx
shr eax, 8
and ecx, 0xff
cmp eax, 0xff
jne 0x4775ea
xor eax, eax
mov edx, dword [esi + eax*4 + 0x28]
movzx eax, word [edx + ecx*2]
mov ecx, dword [esi + 0x20]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8]
lea ebx, [ecx + eax*8]
fld dword [ebx + 4]
mov dword [esp + 0x54], edx
fstp dword [esp + 0x58]
mov eax, dword [ebx + 8]
fld dword [ebx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x74]
mov ecx, dword [ebx]
fld dword [ebx + 0xc]
fstp dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
mov edx, dword [ebx + 8]
fld dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0xac]
mov dword [esp + 0x40], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0x44], ecx
movzx edx, word [ebx + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov eax, ecx
fild dword [esp + 0x14]
mov dword [esp + 0x60], eax
fmul dword [ebp + 0x14]
fadd dword [esp + 0x10]
fstp dword [esp + 0x5c]
movzx ecx, word [ebx + 0x12]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x78], edx
fild dword [esp + 0x14]
fmul dword [ebp + 0x14]
fadd dword [esp + 0x18]
fstp dword [esp + 0x7c]
movzx eax, word [ebx + 0x12]
movzx ecx, word [ebx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
test eax, eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [ebp + 0x14]
fadd dword [esp + 0x18]
fild dword [esp + 0x14]
fmul dword [ebp + 0x14]
fadd dword [esp + 0x10]
fstp dword [esp + 0x94]
fstp dword [esp + 0x98]
je 0x4777a0
mov edx, dword [esi]
mov dword [esp + 0x108], edx
mov ecx, 0x1c
lea esi, [esp + 0x40]
lea edi, [esp + 0x10c]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x160]
fadd dword [esp + 0x10c]
mov ecx, 7
lea esi, [esp + 0x160]
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xb4]
fld dword [esp + 0x164]
fadd dword [esp + 0x110]
fstp dword [esp + 0xb8]
mov ecx, 7
lea esi, [esp + 0xb4]
lea edi, [esp + 0x1a0]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x1a0]
fmul dword [0x5303bc]
mov ecx, 7
lea esi, [esp + 0xb4]
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xd0]
fld dword [esp + 0x1a4]
fmul dword [0x5303bc]
fstp dword [esp + 0xd4]
mov ecx, 7
lea esi, [esp + 0xd0]
lea edi, [esp + 0x17c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x108]
push ecx
lea ecx, [eax + 4]
call fcn.00477170
mov esi, dword [esp + 0x1c]
jmp 0x4777b7
mov eax, dword [esi]
mov ecx, dword [0x84587c]
push 0
push 1
lea edx, [esp + 0x48]
push edx
push eax
call fcn.00481b70
movzx ecx, word [ebx + 0x10]
mov edx, dword [esi + 0x10]
add edx, ecx
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x4777d2
fadd dword [0x5303b0]
fmul dword [ebp + 0x14]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
mov ax, word [eax]
test ax, ax
jne 0x477328
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10