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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x47478b
push 0x628648
call fcn.0046d7e0
push 0x628620
call fcn.0046d810
mov cx, word [0x65cebe]
push ebx
sar cx, 1
movsx edx, cx
movsx eax, word [0x65cec6]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
sar eax, 1
push eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x550070]
call fcn.00529c7c
push eax
call fcn.0046e250
push esi
call fcn.0046fad0
mov eax, dword [0x6b2efc]
add esp, 0x18
cmp esi, eax
jne 0x473a35
mov eax, dword [0x556c64]
push eax
call fcn.00475fb0
mov ecx, dword [0x556c68]
push ecx
call fcn.00475fb0
add esp, 8
mov dx, word [0x64e568]
mov ax, word [0x61b5dc]
mov cx, word [0x660f78]
mov word [0x614f58], dx
mov dx, word [0x660f7a]
mov word [0x614f68], ax
mov ax, word [0x660f7c]
mov word [0x614f88], cx
mov ecx, dword [0x65cf70]
mov word [0x614f98], dx
mov edx, dword [0x66072c]
mov word [0x615018], ax
mov eax, dword [0x652f38]
mov word [0x614fa8], bx
mov dword [0x615038], ecx
mov dword [0x615048], edx
mov dword [0x615028], eax
mov ax, word [esi + 4]
test ah, 0x80
je 0x473ac2
test al, 2
je 0x474767
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xf8], ebx
jmp 0x474767
xor eax, eax
mov al, byte [esi + 0x1f]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov al, byte [ecx*4 + 0x6b244a]
test al, al
je 0x474767
mov eax, 0xffff0000
mov dword [0x660f94], ebx
mov dword [0x660f90], eax
mov cx, word [esi + 4]
test cl, 0x80
je 0x473b1c
mov dword [0x660f90], 0xffff0004
mov ax, word [esi + 4]
and eax, 0x400
neg eax
sbb eax, eax
and eax, 0x80008
add eax, 0xfff70004
jmp 0x473d3c
test ch, 4
je 0x473d3c
mov dword [0x660f90], 0xfffb0008
mov eax, dword [esi + 0x24]
mov edx, eax
mov ecx, eax
and edx, 0xffff0000
and ecx, 0xff00
shl edx, 3
or edx, ecx
and eax, 0xff
shl edx, 3
or edx, eax
mov dword [0x660f94], 1
shl edx, 2
mov dword [0x6150b8], edx
mov ecx, dword [esi + 0x24]
mov edx, ecx
mov dword [esp + 0xc], ecx
xor eax, eax
and edx, 0xff
mov al, byte [esp + 0xe]
and ecx, 0xff00
shl edx, 0x10
or eax, edx
xor edx, edx
or eax, ecx
xor ecx, ecx
mov dword [0x65f728], eax
mov cl, byte [0x65f72a]
mov dl, ah
and eax, 0xff
mov dword [0x652f48], eax
mov al, byte [0x68285d]
mov edi, ecx
cmp al, 0x66
mov dword [0x652f50], edi
mov dword [0x652f4c], edx
jne 0x473bcb
mov al, byte [0x68285f]
mov dword [str.333_], 0x3ecccccd
cmp al, 0x31
je 0x473bd5
mov dword [str.333_], 0x3f333333
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
fild qword [esp + 0x60]
sub esp, 8
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fdiv dword [0x53b704]
fstp dword [esp + 0x20]
fld dword [str.333_]
fstp qword [esp + 8]
fld dword [esp + 0x20]
fstp qword [esp]
call fcn.00529779
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x53b27c]
add esp, 0x10
mov edi, 0x3f800000
fnstsw ax
test ah, 0x41
jne 0x473c30
mov dword [esp + 0x10], edi
fld dword [esp + 0x10]
fmul dword [0x53b704]
call fcn.00529c7c
mov dword [0x6191d4], eax
mov eax, dword [0x652f4c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
fild qword [esp + 0x68]
sub esp, 8
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fdiv dword [0x53b704]
fstp dword [esp + 0x20]
fld dword [str.333_]
fstp qword [esp + 8]
fld dword [esp + 0x20]
fstp qword [esp]
call fcn.00529779
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x53b27c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x473c9f
mov dword [esp + 0x10], edi
fld dword [esp + 0x10]
fmul dword [0x53b704]
call fcn.00529c7c
mov ecx, dword [0x652f48]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ecx
sub esp, 8
fild qword [esp + 0x78]
sub esp, 8
mov dword [0x660f5c], eax
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fdiv dword [0x53b704]
fstp dword [esp + 0x20]
fld dword [str.333_]
fstp qword [esp + 8]
fld dword [esp + 0x20]
fstp qword [esp]
call fcn.00529779
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x53b27c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x473d0f
mov dword [esp + 0x10], edi
fld dword [esp + 0x10]
fmul dword [0x53b704]
call fcn.00529c7c
mov edx, dword [0x65f728]
mov dword [0x660f48], eax
mov eax, dword [0x660f90]
shr edx, 1
and edx, 0x7f7f7f
mov dword [0x65f728], edx
and al, 0xfd
xor ecx, ecx
or eax, 0x210000
mov dword [0x660f90], eax
mov cl, byte [esi + 0x1f]
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [edx*4 + 0x6b2468]
mov dword [0x64f5d0], ecx
test byte [esi + 5], 8
je 0x473d7d
mov edx, dword [esi + 0x30]
xor edx, eax
and edx, 0x180
xor edx, eax
or edx, 0x40
mov dword [0x660f90], edx
mov al, byte [esi + 4]
mov dword [0x660f9c], ebx
shr eax, 3
and eax, 1
mov dword [0x65ceb0], ebx
mov dword [0x65ceac], eax
mov byte [0x660fe1], 0
test byte [esi + 4], 2
je 0x473e0a
mov ecx, dword [0x5fcda8]
mov edx, dword [0x628640]
mov edi, dword [0x614f88]
mov eax, dword [0x614f98]
sar ecx, 0xc
sub cx, word [edx + 8]
push ebx
push esi
mov dword [esp + 0x14], eax
mov word [0x62860e], cx
mov cx, word [esi + 0x100]
mov word [0x614f88], cx
mov dx, word [esi + 0x102]
mov word [0x614f98], dx
call fcn.00474c10
mov ax, word [esp + 0x14]
add esp, 8
mov word [0x614f88], di
mov word [0x614f98], ax
jmp 0x474767
xor eax, eax
xor edx, edx
mov al, byte [esi + 0x1f]
mov dx, word [esi + 0x1a]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ecx*4 + 0x6b2454]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
test byte [eax], 0x20
jne 0x474767
mov ecx, dword [0x628640]
add ecx, 0x74
push ecx
call fcn.0046d7b0
call fcn.0046e460
mov eax, dword [0x628640]
mov edx, dword [esi + 8]
sar edx, 0xc
sub edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 8]
sar ecx, 0xc
sub ecx, edx
mov dword [esp + 0xc0], ecx
mov edx, dword [esi + 0x10]
mov edi, dword [eax + 0xc]
lea eax, [esp + 0xbc]
sar edx, 0xc
sub edx, edi
push eax
mov dword [esp + 0xc8], edx
call fcn.0046d840
call fcn.0046ddf0
lea ecx, [esp + 0xd0]
push ecx
call fcn.0046d790
mov eax, dword [0x6b78f8]
add esp, 0xc
xor edi, edi
cmp eax, ebx
mov di, word [esi + 0x1a]
jne 0x473f40
mov eax, dword [esp + 0x10]
mov edx, dword [0x64e514]
xor ebx, ebx
movsx ecx, word [eax + 0x18]
mov bx, word [edx + 0xe]
mov eax, 0xab8f69e3
imul ecx, ebx
imul ecx
add edx, ecx
mov eax, dword [esp + 0xd0]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jle 0x473f3e
mov edx, dword [esp + 0x10]
mov ax, word [edx + 0x1a]
cmp ax, 0xffff
je 0x473f3e
xor ecx, ecx
and eax, 0xffff
mov cl, byte [esi + 0x1f]
mov edi, eax
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [edx*4 + 0x6b2454]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
movsx ecx, word [eax + 0x18]
imul ecx, ebx
mov eax, 0xab8f69e3
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0xd0]
cmp eax, edx
jg 0x473eea
xor ebx, ebx
cmp dword [0x660f98], ebx
jne 0x473f8a
xor ecx, ecx
lea edx, [edi + edi*8]
mov cl, byte [esi + 0x1f]
push str.no_dc_model_data
mov eax, dword [ecx*4 + 0x5f6764]
lea edi, [eax + edx*4]
cmp edi, ebx
mov dword [esp + 0x54], edi
setne cl
push ecx
call fcn.004015b0
mov eax, dword [0x660f98]
add esp, 8
cmp eax, ebx
jne 0x473f8a
cmp dword [0x660f94], ebx
je 0x473f8a
mov eax, dword [edi + 0xc]
or al, 0x20
mov dword [edi + 0xc], eax
cmp dword [0x6b78f8], ebx
jne 0x473fd5
mov edi, dword [esp + 0x10]
mov edx, dword [0x64e514]
xor ecx, ecx
movsx eax, word [edi + 0x18]
mov cx, word [edx + 0xe]
imul ecx, eax
mov eax, 0xab8f69e3
imul ecx
add edx, ecx
mov eax, dword [esp + 0xd0]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jle 0x473fd9
cmp word [edi + 0x1a], 0xffff
je 0x474767
jmp 0x473fd9
mov edi, dword [esp + 0x10]
mov dword [0x65cf08], ebx
mov al, byte [edi]
test al, 4
jne 0x473fef
test byte [esi + 4], 0x80
je 0x4742c4
cmp word [esi + 0x14], bx
jne 0x47400f
cmp word [esi + 0x16], bx
jne 0x47400f
cmp word [esi + 0x18], bx
jne 0x47400f
mov edx, dword [esi + 0x3c]
push edx
call fcn.0046d7e0
add esp, 4
jmp 0x474038
mov edx, dword [esi + 0x3c]
lea eax, [esp + 0x118]
lea ecx, [esp + 0x148]
push eax
push ecx
push edx
call fcn.0046cd90
lea eax, [esp + 0x124]
push eax
call fcn.0046d7e0
add esp, 0x10
mov ecx, dword [esi + 0x3c]
add ecx, 0x14
push ecx
call fcn.0046d810
mov ecx, dword [0x660fec]
mov edi, dword [esi + 0x3c]
add esp, 4
mov eax, 1
cmp ecx, ebx
mov dword [esp + 0x24], edi
mov dword [0x65ceb0], ebx
mov dword [0x660f9c], eax
je 0x47406d
mov dword [0x65ceb0], eax
lea edx, [esp + 0x118]
lea eax, [esp + 0x148]
push edx
push eax
push edi
call fcn.0046cd90
add esp, 0xc
lea edx, [esp + 0x11a]
lea ecx, [edi + 0x1a]
xor eax, eax
movsx edi, word [edx + 2]
mov dword [esp + 0xc], edi
add eax, 0xc
fild dword [esp + 0xc]
movsx edi, word [edx]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
mov dword [esp + 0xc], edi
add ecx, 2
movsx edi, word [edx - 2]
add edx, 6
cmp eax, 0x24
fstp dword [esp + 0x14]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
mov dword [esp + 0xc], edi
fstp dword [esp + 0x28]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
fstp dword [esp + 0xc]
mov edi, dword [esp + 0xc]
mov dword [eax + 0x62865c], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x628660], edi
mov edi, dword [esp + 0x14]
mov dword [eax + 0x628664], edi
movsx edi, word [ecx + 4]
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
movsx edi, word [ecx - 2]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
mov dword [esp + 0xc], edi
movsx edi, word [ecx - 8]
fstp dword [esp + 0x14]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
mov dword [esp + 0xc], edi
fstp dword [esp + 0x28]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
fstp dword [esp + 0xc]
mov edi, dword [esp + 0xc]
mov dword [eax + 0x64f59c], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x64f5a0], edi
mov edi, dword [esp + 0x14]
mov dword [eax + 0x64f5a4], edi
jl 0x474092
mov eax, dword [esp + 0x24]
fild dword [eax + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
fstp dword [esp + 0x14]
fild dword [eax + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
fstp dword [esp + 0x28]
fild dword [eax + 0x28]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [0x660f58], eax
mov eax, dword [0x660ff4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fdiv dword [0x53b36c]
cmp eax, ebx
mov dword [0x660f54], edx
mov dword [0x64e510], 3
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [0x660f50], ecx
je 0x4742c4
fld dword [0x628670]
mov eax, dword [0x6191d0]
mov ecx, dword [0x6191c8]
fchs
fstp dword [esp + 0xc]
fld dword [0x62866c]
mov edx, dword [0x6191cc]
mov dword [0x64f5b0], eax
mov eax, dword [esp + 0xc]
mov dword [0x64f5a8], ecx
fchs
fstp dword [esp + 0xc]
fld dword [0x628668]
mov ecx, dword [esp + 0xc]
mov dword [0x64f5ac], edx
fchs
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [0x628678], ecx
mov dword [0x628674], edx
mov dword [0x62867c], eax
mov dword [0x628680], edx
mov edx, dword [0x65cf7c]
mov dword [0x628684], ecx
mov ecx, dword [0x65cf78]
mov dword [0x628688], eax
mov eax, dword [0x65cf80]
mov dword [0x64f5b4], ebx
mov dword [0x64f5b8], ebx
mov dword [0x64f5bc], ebx
mov dword [0x64f5c0], ebx
mov dword [0x64f5c4], ebx
mov dword [0x64f5c8], ebx
mov dword [0x660f50], ecx
mov dword [0x660f54], edx
mov dword [0x660f58], eax
mov eax, dword [0x64e514]
test byte [esi + 5], 0x20
mov cx, word [eax + 0xa]
mov word [esp + 0x3c], cx
je 0x4742ef
mov ecx, 0x7fff
mov word [0x614fa8], bx
mov word [0x614f58], cx
mov word [eax + 0xa], cx
mov ax, word [esi + 0x14]
cmp ax, bx
jne 0x474359
cmp word [esi + 0x16], bx
jne 0x474359
cmp word [esi + 0x18], bx
jne 0x474359
mov eax, 4
mov edi, 0x64e518
sub edi, eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x84]
mov dword [esp + 0xc], edi
sub edx, eax
jmp 0x474327
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax]
add ecx, 0x10
mov dword [edx + eax], edi
mov edi, dword [eax + 0x64e518]
mov dword [esp + eax + 0x78], edi
mov edi, dword [eax + 0x64e51c]
mov dword [ecx - 0x14], edi
mov edi, dword [eax + 0x64e520]
mov dword [ecx - 0x10], edi
add eax, 0x10
cmp eax, 0x44
jl 0x474323
jmp 0x474558
fld dword [0x53bd70]
fdiv dword [0x53bd74]
movsx edx, word [esi + 0x18]
mov dword [esp + 0xc], edx
movsx ecx, word [esi + 0x16]
movsx edx, ax
fstp dword [esp + 0x2c]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
fstp dword [esp + 0x14]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x2c]
mov dword [esp + 0xc], edx
fstp dword [esp + 0x28]
fild dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp qword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push eax
call fcn.00529994
mov ecx, dword [esp + 0x20]
push edi
fstp dword [esp + 0x40]
push ecx
call fcn.005293e4
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fstp qword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edi
push edx
call fcn.00529994
mov eax, dword [esp + 0x30]
push edi
fstp dword [esp + 0x4c]
push eax
call fcn.005293e4
fstp dword [esp + 0x44]
fld dword [esp + 0x34]
fstp qword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edi
push ecx
call fcn.00529994
mov edx, dword [esp + 0x40]
push edi
fstp dword [esp + 0x40]
push edx
call fcn.005293e4
fstp dword [esp + 0x68]
fld dword [esp + 0x54]
fmul dword [esp + 0x5c]
add esp, 0x30
fstp dword [esp + 0x4c]
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x5c]
fld dword [esp + 0x30]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x18]
fld dword [esp + 0x38]
fmul dword [esp + 0x24]
fstp dword [esp + 0xc]
fld dword [esp + 0x14]
fmul dword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0xc]
fmul dword [esp + 0x34]
fadd dword [esp + 0x28]
push ebx
mov dword [esp + 0x88], ebx
fstp dword [esp + 0x5c]
fld dword [esp + 0x3c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
fmul dword [esp + 0x38]
fsub dword [esp + 0x28]
fstp dword [esp + 0x3c]
fld dword [esp + 0x28]
fmul dword [esp + 0x38]
fsub dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fmul dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fmul dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.00402620
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
push ebx
push eax
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.00402620
push 0x3f800000
push ebx
push ebx
push ebx
lea ecx, [esp + 0xb8]
call fcn.00402620
test byte [esi + 5], 2
je 0x4746a9
movsx eax, word [esi + 0x28]
mov dword [esp + 0x18], eax
push 0x3f800000
fild dword [esp + 0x1c]
movsx ecx, word [esi + 0x2a]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul dword [0x53b284]
mov dword [esp + 0x1c], ecx
push ebx
movsx edx, word [esi + 0x2c]
fstp dword [esp + 0x48]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push ebx
push ebx
mov dword [esp + 0xe8], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [0x53b284]
mov dword [esp + 0x28], edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebx
fstp dword [esp + 0x54]
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x104], ebx
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0x118]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [0x53b284]
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x114], ebx
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x110], edx
call fcn.00402620
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x144], eax
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x16c]
push edx
push eax
call fcn.00476a00
lea edi, [esp + 0x84]
add esp, 0xc
lea edx, [eax + 0xc]
lea ecx, [esp + 0x7c]
sub eax, edi
mov dword [esp + 0xc], 4
mov edi, dword [edx - 0xc]
add edx, 0x10
mov dword [ecx - 4], edi
mov edi, dword [eax + ecx]
mov dword [ecx], edi
mov edi, dword [edx - 0x14]
mov dword [ecx + 4], edi
mov edi, dword [edx - 0x10]
mov dword [ecx + 8], edi
mov edi, dword [esp + 0xc]
add ecx, 0x10
dec edi
mov dword [esp + 0xc], edi
jne 0x474673
mov ecx, dword [esp + 0x144]
mov dword [esp + 0xb4], ecx
fild dword [esi + 8]
cmp dword [0x660f98], ebx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x53b284]
fstp dword [esp + 0xa8]
fild dword [esi + 0xc]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x53b284]
fstp dword [esp + 0xac]
fild dword [esi + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [0x53b284]
fstp dword [esp + 0xb0]
je 0x474707
mov eax, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x7c]
push ebx
push edx
push eax
jmp 0x474737
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0xc]
test ah, 1
jne 0x47473f
test ah, 0x40
jne 0x47472b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x78]
push ebx
push edx
push ecx
push eax
call fcn.00476d00
jmp 0x47473c
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x7c]
push ebx
push ecx
push edx
call fcn.00478180
add esp, 0x10
test byte [esi + 5], 0x20
je 0x474767
mov ax, word [0x64e568]
mov ecx, dword [0x64e514]
mov dx, word [esp + 0x3c]
mov word [0x614f58], ax
mov word [0x614fa8], bx
mov word [ecx + 0xa], dx
mov esi, dword [esi + 0x20]
cmp esi, ebx
jne 0x473aa0
mov dword [0x660f94], ebx
mov dword [0x660f9c], ebx
mov dword [0x65ceb0], ebx
mov byte [0x660fe1], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret