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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x104
mov eax, dword [esp + 0x11c]
mov edx, dword [esp + 0x124]
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x12c]
mov ebp, dword [esp + 0x120]
test ebp, 0x8010000
mov dword [esp + 0xb0], edx
mov edx, 0
mov esi, dword [esp + 0x118]
mov dword [esp + 0x98], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
je 0x46f88d
test ebp, 0x10000
je 0x46f886
lea eax, [esp + 0x137]
and eax, 0xfffffffc
movsx edi, byte [eax]
jmp 0x46f892
mov edi, 0x2c
jmp 0x46f892
mov edi, 0x2e
cmp dword [esp + 0xf4], 0
jle 0x470b60
mov edx, ebp
mov eax, ebp
and edx, 0x80
and eax, 0x80000000
mov ebx, edx
shl edx, 0x18
and edx, eax
shl ebx, 4
shr edx, 0x13
or ebx, edx
mov dword [esp + 0xa0], eax
test ebp, 0x20
je 0x470b56
mov dword [esp + 0xe4], ebp
mov edx, dword [esp + 0xf4]
movsx eax, byte [esi]
lea ecx, [eax - 9]
cmp ecx, 0x20
jae 0x46f90f
mov ebp, 1
shl ebp, cl
test ebp, 0x80001f
je 0x46f90f
inc esi
dec edx
jne 0x46f8df
mov dword [esp + 0xf4], edx
mov edx, esi
mov ebp, dword [esp + 0xe4]
jmp 0x46f939
mov dword [esp + 0xf4], edx
mov edx, esi
mov ebp, dword [esp + 0xe4]
cmp eax, 0x2d
jne 0x46f929
or ebx, 8
jmp 0x46f92e
cmp eax, 0x2b
jne 0x46f939
dec dword [esp + 0xf4]
or ebx, 2
inc esi
xor eax, eax
fldz
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], eax
cmp dword [esp + 0xf4], 0
je 0x46fdf1
mov eax, ebp
mov ecx, ebp
and eax, 0x10
and ecx, 0x100
mov dword [esp + 0xa4], eax
mov eax, ebp
mov dword [esp + 0xe0], ecx
mov ecx, ebp
and eax, 0x1000
and ecx, 2
mov dword [esp + 0xdc], eax
mov eax, ebp
mov dword [esp + 0x9c], ecx
mov ecx, ebp
and eax, 0x40000000
and ecx, 8
mov dword [esp + 0xb4], eax
mov eax, ebp
mov dword [esp + 0xb8], ecx
mov ecx, ebp
and eax, 4
and ecx, 0x40
mov dword [esp + 0xc4], eax
mov eax, ebp
mov dword [esp + 0xbc], ecx
mov ecx, ebp
and eax, 1
and ecx, 0x800
mov dword [esp + 0xd4], 9
mov dword [esp + 0xd0], 2
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], ebp
movsx ebp, byte [esi]
lea eax, [ebp - 9]
cmp eax, 0x6f
ja case.0x46fa39.10
jmp dword [eax*4 + 0x4ecf00]
cmp dword [esp + 0xa4], 0
jne 0x46fddc
jmp case.0x46fa39.10
cmp dword [esp + 0xe0], 0
je case.0x46fa39.10
test ebx, 0x200
jne case.0x46fa39.10
cmp dword [esp + 0xfc], 0
jne case.0x46fa39.10
cmp dword [esp + 0xc8], 1
jne case.0x46fa39.10
xor ebx, 4
mov dword [esp + 0xd4], 8
or ebx, 0x200
mov dword [esp + 0xd0], 1
mov dword [esp + 0xcc], 3
jmp 0x46fddc
mov eax, ebx
and eax, 0x200
or eax, dword [esp + 0xdc]
jne case.0x46fa39.10
jmp 0x470811
test ebx, 0x200
je case.0x46fa39.10
jmp 0x470811
test ebx, 0x800
je case.0x46fa39.10
mov ecx, dword [esp + 0xc8]
mov eax, ebx
or ecx, dword [esp + 0xfc]
and eax, 0x201
or ecx, eax
jne case.0x46fa39.10
mov ecx, dword [esp + 0xf4]
mov eax, esi
mov dword [esp + 0x14], 0x4ec864
test ecx, ecx
mov dword [esp + 0xc], ecx
jle 0x470ad3
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov ebp, dword [esp + 0xf4]
mov edi, dword [esp + 0x14]
movsx ecx, byte [edi]
test ecx, ecx
je 0x470abe
movsx eax, byte [esi]
or ecx, 0x20
or eax, 0x20
inc edi
cmp eax, ecx
jne 0x470a31
dec ebp
inc esi
test ebp, ebp
jg 0x46fb3e
mov dword [esp + 0x14], edi
mov ecx, edi
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp]
mov eax, dword [esp + 4]
mov edi, dword [esp + 8]
movsx ecx, byte [ecx]
test ecx, ecx
je 0x47091b
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf4], eax
jmp case.0x46fa39.10
test ebx, 0x800
je case.0x46fa39.10
mov ecx, dword [esp + 0xc8]
mov eax, ebx
or ecx, dword [esp + 0xfc]
and eax, 0x201
or ecx, eax
jne case.0x46fa39.10
mov dword [esp + 0x10], esi
mov eax, str.Infinity
cmp dword [esp + 0xf4], 0
jle 0x46fc81
mov dword [esp + 8], edi
mov dword [esp], ebp
mov edi, dword [esp + 0xf4]
movsx ebp, byte [eax]
test ebp, ebp
je 0x470a57
movsx ecx, byte [esi]
or ebp, 0x20
or ecx, 0x20
cmp ecx, ebp
jne 0x470a44
dec edi
inc eax
inc esi
test edi, edi
jg 0x46fbe4
mov dword [esp + 0xf4], edi
movsx ecx, byte [eax]
test ecx, ecx
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jne 0x46fc81
fstp st(0)
mov edx, esi
test bl, 8
je 0x46fc2d
fld dword [0x4ede1c]
jmp 0x46fc33
fld dword [0x4ede18]
and ebx, 0xfffffff7
mov eax, ebx
or eax, 0xc000000
cmp dword [esp + 0xb4], 0
je 0x46fc49
mov ebx, eax
cmp dword [esp + 0x9c], 0
je case.0x46fa39.10
cmp dword [esp + 0xf4], 0
je case.0x46fa39.10
mov eax, dword [esp + 0xf4]
cmp byte [esi], 0x20
jne 0x46fc75
inc esi
dec eax
jne 0x46fc6c
mov dword [esp + 0xf4], eax
jmp case.0x46fa39.10
cmp byte [eax - 1], 0x66
je 0x46fc1c
mov ecx, dword [esp + 0x10]
mov esi, ecx
neg ecx
add eax, ecx
mov dword [esp + 0xf4], eax
jmp case.0x46fa39.10
test ebx, 0x200
jne 0x46fcd1
jmp 0x470a6c
test ebx, 0x200
jne 0x46fcd1
cmp dword [esp + 0xdc], 0
jne case.0x46fa39.10
jmp 0x470a6c
test ebx, 0x200
je case.0x46fa39.10
or ebp, 0x20
add ebp, 0xffffffa9
jmp 0x46fcdc
add ebp, 0xffffffd0
or ebx, 4
mov ecx, ebx
xor eax, eax
and ecx, 0x201
cmp ecx, 0x200
mov ecx, dword [esp + 0x100]
sete al
sub ecx, eax
mov eax, dword [esp + 0xf8]
inc ecx
inc dword [esp + 0xfc]
mov dword [esp + 0x100], ecx
cmp eax, dword [esp + 0xd4]
je 0x470a78
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0xf0]
mov eax, ebx
mov ecx, dword [esp + 0xcc]
shl eax, cl
inc dword [esp + 0xf8]
lea eax, [eax + ebx*8]
mov ebx, dword [esp + 0xa8]
add eax, ebp
mov dword [esp + 0xf0], eax
jmp 0x46fddc
cmp dword [esp + 0xfc], 0
jne case.0x46fa39.49
mov eax, ebx
or ebx, 4
and eax, 1
add dword [esp + 0x100], eax
xor eax, 1
add dword [esp + 0xc8], eax
jmp 0x46fddc
cmp dword [esp + 0xb8], 0
jne 0x46fddc
jmp case.0x46fa39.10
cmp dword [esp + 0xc4], 0
jne 0x46fddc
jmp case.0x46fa39.10
cmp dword [esp + 0xd8], 0
jne case.0x46fa39.10
jmp 0x470add
cmp dword [esp + 0x9c], 0
jne 0x46fddc
jmp 0x470af1
cmp dword [esp + 0xc0], 0
jne 0x46fddc
cmp ebp, edi
jne 0x470b4a
test bl, 1
jne 0x470b4a
xor eax, eax
or ebx, 1
mov dword [esp + 0x100], eax
inc esi
dec dword [esp + 0xf4]
jne 0x46fa2a
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0xb4], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
test bl, 4
mov eax, dword [esp + 0xb4]
jne 0x46fe0e
mov eax, edx
test bl, 0x40
je 0x46fe15
mov eax, esi
mov dword [esp + 0xb4], eax
test ebp, 0x8000
je 0x46fe56
cmp dword [esp + 0xa0], 0
je 0x46fe41
cmp dword [esp + 0xf4], 0
je 0x46fe56
movsx eax, byte [esi]
test eax, eax
jne 0x46fe4b
jmp 0x46fe56
cmp dword [esp + 0xf4], 0
je 0x46fe56
or ebx, 0x3000000
jmp 0x4707c9
cmp dword [esp + 0xfc], 0
jne 0x46fe9b
mov eax, ebx
and eax, 0xc
cmp eax, 0xc
jne 0x46fe7a
fchs
fstp dword [esp + 0x98]
fld dword [esp + 0x98]
mov eax, ebp
mov edx, ebx
and eax, 0x28000
or edx, 0x3000000
cmp eax, 0x28000
jne 0x4707c9
mov ebx, edx
jmp 0x4707c9
fstp st(0)
test bl, 0x10
je 0x46fed7
cmp dword [esp + 8], 6
ja 0x4706fe
mov eax, dword [esp + 4]
mov ecx, eax
neg ecx
test ebx, 0x80
mov edx, dword [esp + 0x98]
jne 0x46fec6
mov ecx, eax
test ebp, 0x400
jne 0x46fed3
mov edx, 0
sub ecx, edx
jmp 0x46fee0
mov ecx, dword [esp + 0x98]
neg ecx
mov eax, ebx
and eax, 1
test ebx, 0x200
je 0x4700ec
mov edi, dword [esp + 0x100]
neg edi
mov edx, dword [esp + 0xfc]
add edi, edx
lea ecx, [ecx + edi*4]
mov edi, dword [esp + 0xb0]
shl edi, 2
neg edi
add edi, ecx
test eax, eax
je 0x46ff1a
mov edi, ecx
mov ecx, dword [esp + 0xf8]
shl ecx, 2
neg ecx
shl dword [esp + 0xf0], cl
mov dword [esp + 0xb0], edi
cmp edx, 8
ja 0x46ff83
mov dword [esp + 4], 0
cmp dword [esp + 0xf0], 0
jle 0x46ff68
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 4]
add eax, eax
inc edx
test eax, eax
jg 0x46ff56
mov dword [esp + 0xf0], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xec], 1
jmp 0x4700d5
mov eax, dword [esp + 0xec]
inc eax
mov edx, dword [esp + 0xf0]
test edx, edx
mov dword [esp + 0xec], eax
mov dword [esp + eax*4 + 0x18], edx
jne 0x46ffb0
dec eax
cmp dword [esp + eax*4 + 0x18], 0
je 0x46ffa1
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 4], edx
test eax, eax
jle 0x47004d
add eax, eax
inc edx
test eax, eax
jg 0x46ffc2
mov dword [esp + 4], edx
mov dword [esp + 0x1c], eax
cmp dword [esp + 4], 0
je 0x47004d
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xec], 1
jbe 0x4700d5
mov eax, edx
mov edx, 1
mov dword [esp + 0xa8], ebx
neg eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xe4], ebp
mov ebx, dword [esp + 0xec]
mov edi, dword [esp + 4]
mov esi, dword [esp + edx*4 + 0x1c]
mov ecx, eax
mov ebp, esi
shr ebp, cl
mov ecx, edi
shl esi, cl
or dword [esp + edx*4 + 0x58], ebp
mov dword [esp + edx*4 + 0x5c], esi
inc edx
cmp edx, ebx
jb 0x470010
mov dword [esp + 0xec], ebx
mov dword [esp + 4], edi
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xe4]
jmp 0x4700d5
cmp dword [esp + 0xec], 0
je 0x4700d5
mov eax, dword [esp + 0xec]
cmp eax, 0x18
lea ecx, [eax*4]
jle 0x470b09
mov dword [esp + 0xa8], ebx
lea edi, [esp + 0x18]
lea ebx, [esp + 0x58]
sub ebx, edi
xor edx, edx
cmp ebx, ecx
lea eax, [eax*4]
mov dword [esp], eax
setg dl
neg ebx
xor eax, eax
cmp ebx, ecx
mov ebx, dword [esp + 0xa8]
setg al
or edx, eax
je 0x470b09
mov eax, dword [esp + 0xec]
lea ecx, [eax*4]
neg ecx
lea edi, [esp + eax*4 + 0x58]
lea eax, [esp + eax*4 + 0x18]
push dword [esp]
lea edx, [edi + ecx + 4]
lea ecx, [eax + ecx + 4]
push ecx
push edx
call fcn.004c3ac0
add esp, 0xc
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
jmp 0x4703eb
test eax, eax
je 0x4700f9
sub ecx, dword [esp + 0x100]
jmp 0x470100
sub ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xfc]
add eax, ecx
cmp eax, 0xffffffd3
jl 0x4706fe
cmp eax, 0x27
jg 0x4706fe
mov edi, dword [esp + 0xfc]
lea eax, [edi - 0x1b]
test eax, eax
lea edx, [ecx + edi - 0x1b]
jg 0x47012f
mov edx, ecx
mov dword [esp], edx
cmp edi, 9
ja 0x470163
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
shr eax, 0x1f
fadd qword [eax*8 + 0x4ecee0]
fstp qword [esp + 8]
fld qword [esp + 8]
jmp 0x470201
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
shr eax, 0x1f
cmp dword [esp + 0xec], 2
fadd qword [eax*8 + 0x4ecee0]
fstp qword [esp + 8]
fld qword [esp + 8]
jb 0x4701c6
fld qword [0x4ee1c0]
mov edx, 2
mov eax, dword [esp + 0xec]
jmp 0x47019d
faddp st(2)
fild dword [esp + edx*4 + 0x18]
fxch st(1)
fmul st(2), st(0)
mov ecx, dword [esp + edx*4 + 0x18]
inc edx
shr ecx, 0x1f
cmp edx, eax
fxch st(1)
fadd qword [ecx*8 + 0x4ecee0]
fstp qword [esp + 8]
fld qword [esp + 8]
jbe 0x47019b
faddp st(2)
fstp st(0)
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x98], edx
fild dword [esp + 0x98]
shr edx, 0x1f
mov eax, dword [esp + 0xf8]
fxch st(1)
fmul qword [eax*8 + 0x4ee178]
fxch st(1)
fadd qword [edx*8 + 0x4ecee0]
fstp qword [esp + 8]
fld qword [esp + 8]
faddp st(1)
cmp dword [esp], 0xffffffd1
jle 0x470213
mov eax, dword [esp]
fmul qword [eax*8 + 0x4ee178]
jmp 0x47026b
mov eax, dword [esp]
mov ecx, eax
neg ecx
mov dword [esp + 0xa8], ebx
mov ebx, ecx
sar ebx, 3
mov dword [esp + 0x10], esi
movzx edx, word [ebx*2 + 0x4ee3a0]
lea esi, [ebx + 1]
shr edx, 5
cmp edx, ecx
jl 0x47023e
mov esi, ebx
movzx edx, word [esi*2 + 0x4ee3a0]
mov edi, edx
shr edx, 5
and edi, 0x1f
add eax, edx
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x10]
fld qword [edi*8 + 0x4ee300]
fmul qword [eax*8 + 0x4ee178]
fmulp st(1)
test ebp, 0x400000
je 0x470280
fstp qword [esp]
and dword [esp], 0xefffffff
fld qword [esp]
fld st(0)
fstp qword [esp + 8]
fld qword [esp + 8]
fcomp qword [0x4edd58]
fnstsw ax
sahf
jbe 0x47029c
fstp st(0)
jmp 0x4706fe
fld qword [0x4edd60]
fld st(1)
fstp qword [esp + 8]
fld qword [esp + 8]
fcompp
fnstsw ax
sahf
jae 0x4707b4
jp 0x4707b4
test ebp, 0x10000000
jne 0x470295
fld qword [0x4edd68]
fld st(1)
fstp qword [esp + 8]
fld qword [esp + 8]
fcompp
fnstsw ax
sahf
jae 0x4702e5
jp 0x4702e5
fstp st(0)
jmp 0x4706fe
fstp qword [esp]
mov edx, dword [esp + 4]
mov dword [esp + 0xc], edx
and edx, 0x7ff00000
shr edx, 0x14
mov eax, dword [esp]
test edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xb0], edx
je 0x470331
mov edx, dword [esp + 0xc]
mov ecx, eax
or edx, 0xfff00000
mov eax, ecx
shl edx, 0xb
shr eax, 0x15
shl ecx, 0xb
or edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
jmp 0x4703b8
cmp dword [esp + 0xc], 0
je 0x470386
mov eax, dword [esp + 0xc]
shl eax, 0xc
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp], 0
jle 0x47035f
mov edx, dword [esp]
add eax, eax
inc edx
test eax, eax
jg 0x470351
mov dword [esp + 0xc], eax
mov dword [esp], edx
mov eax, dword [esp]
sub dword [esp + 0xb0], eax
add eax, 0xc
mov ecx, eax
mov edi, dword [esp + 8]
neg ecx
mov edx, edi
shr edx, cl
mov ecx, eax
shl edi, cl
or dword [esp + 0xc], edx
mov dword [esp + 8], edi
jmp 0x4703b8
mov edx, eax
xor eax, eax
mov dword [esp + 0xc], edx
test edx, edx
jle 0x47039d
add edx, edx
inc eax
test edx, edx
jg 0x470392
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xb0]
sub edx, eax
add edx, 0xffffffec
mov dword [esp + 0xb0], edx
mov dword [esp + 8], 0
mov edi, dword [esp + 8]
xor eax, eax
test edi, edi
mov ecx, dword [esp + 0xc]
setne al
mov edx, dword [esp + 0xb0]
inc eax
add edx, 0xfffffc02
mov dword [esp + 0xb0], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
mov eax, ebp
shr eax, 0x16
and eax, 7
mov edx, dword [esp + 0xa0]
or edx, eax
jne 0x470403
mov eax, 6
mov edx, eax
and edx, 2
test al, 4
je 0x470423
test edx, edx
mov edx, 0xaaaa
jne 0x47041a
mov edx, 0xfa
mov dword [esp + 0x98], edx
jmp 0x470449
test edx, edx
je 0x470434
mov dword [esp + 0x98], 0xfa00
jmp 0x470449
mov edx, 0xa8a8
test al, 1
je 0x470442
mov edx, 0
mov dword [esp + 0x98], edx
cmp eax, 2
je 0x470453
cmp eax, 4
jne 0x47045a
mov eax, 1
jmp 0x47045c
xor eax, eax
mov edx, dword [esp + 0xb0]
lea edx, [edx + 0x95]
cmp edx, 0x18
jle 0x470475
mov edx, 0x18
jmp 0x47047d
test edx, edx
js 0x4706fe
mov ecx, edx
xor edi, edi
and ecx, 0x1f
cmp edi, ecx
mov dword [esp + 0xa4], ecx
adc edi, 0
sar edx, 5
mov dword [esp + 0xa0], edi
lea ecx, [edx + edi]
mov dword [esp + 0x9c], ecx
cmp ecx, dword [esp + 0xec]
jbe 0x4704b5
test eax, eax
je 0x4706ce
cmp dword [esp + 0x9c], 0
je 0x470689
mov eax, ecx
cmp dword [esp + 0xa4], 0
mov ecx, dword [esp + eax*4 + 0x58]
mov dword [esp + 4], ecx
je 0x470588
mov edi, dword [esp + 0xa4]
neg edi
mov dword [esp + 0x10], esi
mov esi, ecx
mov eax, esi
mov dword [esp + 0xa8], ebx
mov ebx, 1
lea ecx, [edi + 0x1f]
add edi, 0x20
shr eax, cl
mov dword [esp], ecx
and eax, 1
mov ecx, edi
mov edi, esi
mov dword [esp + 0xc], eax
mov eax, 1
shl ebx, cl
shr edi, cl
mov ecx, dword [esp]
and edi, 1
shl eax, cl
dec eax
and eax, esi
mov ecx, dword [esp + 0xec]
or dword [esp + 0xe8], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0xa8]
mov esi, dword [esp + 0x10]
cmp ecx, dword [esp + 0x9c]
jbe 0x4705fe
mov eax, dword [esp + 0xa0]
lea ecx, [edx + eax + 1]
cmp ecx, dword [esp + 0xec]
ja 0x4705fe
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
or edi, dword [esp + ecx*4 + 0x58]
inc ecx
cmp ecx, eax
jbe 0x470576
mov dword [esp + 0xe8], edi
jmp 0x4705fe
mov ecx, eax
mov eax, dword [esp + 4]
and eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + ecx*4 + 0x5c]
mov edi, eax
mov ecx, dword [esp + 0xa0]
add eax, eax
shr edi, 0x1f
mov dword [esp + 0xc], edi
or dword [esp + 0xe8], eax
lea edi, [edx + ecx + 1]
cmp edi, dword [esp + 0xec]
jae 0x4705f6
mov eax, ecx
lea ecx, [edx + eax + 2]
cmp ecx, dword [esp + 0xec]
ja 0x4705f6
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
or edi, dword [esp + ecx*4 + 0x58]
inc ecx
cmp ecx, eax
jbe 0x4705dc
mov dword [esp + 0xe8], edi
mov dword [esp + 8], 1
jmp 0x4705fe
mov dword [esp + 8], 1
mov dword [esp + 0xa8], ebx
and ebx, 8
xor eax, eax
cmp dword [esp + 0xe8], 0
mov edi, dword [esp + 0xc]
setne al
lea ecx, [ebx + eax*4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x98]
lea edi, [edi + eax*2]
add ecx, edi
shr ebx, cl
test bl, 1
mov ebx, dword [esp + 0xa8]
je 0x4706ce
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
add eax, ecx
mov dword [esp + 4], eax
cmp eax, ecx
jae 0x47069f
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov dword [esp + ecx*4 + 0x58], eax
mov dword [esp + 0x58], 0
lea ecx, [edx + edi - 1]
lea edx, [esp + ecx*4 + 0x58]
mov eax, dword [edx]
cmp eax, 0xffffffff
jne 0x470685
dec ecx
lea edx, [esp + ecx*4 + 0x58]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x470679
test ecx, ecx
jne 0x47069a
inc dword [esp + 0xb0]
mov dword [esp + 0x5c], 0x80000000
jmp 0x4706ce
inc eax
mov dword [edx], eax
jmp 0x4706ce
cmp dword [esp + 0xa4], 0
je 0x4706c3
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 8]
dec eax
not eax
mov edx, dword [esp + 4]
and edx, eax
mov dword [esp + ecx*4 + 0x58], edx
jmp 0x4706ce
mov edx, dword [esp + 0x9c]
mov dword [esp + edx*4 + 0x58], eax
cmp dword [esp + 0xb0], 0x80
jg 0x4706fe
cmp dword [esp + 0xb0], 0xffffff82
jg 0x47077f
cmp dword [esp + 0xb0], 0xffffff6c
jl 0x4706fe
test ebp, 0x10000000
je 0x470759
test ebx, 0x80
je 0x470733
test bl, 8
je 0x470713
fld dword [0x4ede0c]
jmp 0x470719
fld dword [0x4ede08]
mov eax, ebx
or eax, 0x9000000
test ebp, 0x4000
je 0x4707c9
mov ebx, eax
jmp 0x4707c9
test bl, 8
je 0x470740
fld dword [0x4ede1c]
jmp 0x470746
fld dword [0x4ede18]
mov eax, ebx
or eax, 0x8000000
test ebp, 0x2000
je 0x4707c9
mov ebx, eax
jmp 0x4707c9
mov edx, ebx
mov ecx, dword [esp + 0xb0]
or edx, 0x9000000
neg ecx
test ebp, 0x4000
mov eax, dword [esp + 0x5c]
je 0x470778
mov ebx, edx
add ecx, 0xb
shr eax, cl
jmp 0x47079d
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0xb0]
shr eax, 8
shl edx, 0x17
and eax, 0xff7fffff
add edx, 0x3f000000
or eax, edx
mov edx, eax
or edx, 0x80000000
test bl, 8
jne 0x4707ac
mov edx, eax
mov dword [esp], edx
fld dword [esp]
jmp 0x4707c9
fstp dword [esp + 0x98]
test bl, 8
fld dword [esp + 0x98]
je 0x4707c9
fchs
cmp dword [esp + 0xac], 0
je 0x4707f6
test ebp, 0x40000
je 0x4707ed
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov dword [edx], eax
jmp 0x4707f6
mov eax, dword [esp + 0xac]
mov dword [eax], esi
mov eax, dword [esp + 0x130]
test eax, eax
je 0x470806
shr ebx, 0x18
mov dword [eax], ebx
add esp, 0x104
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0xb4], esi
inc esi
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
dec dword [esp + 0xf4]
je 0x46fe00
mov dword [esp], edx
mov dword [esp + 0xe4], ebp
mov ebp, eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xb8]
movsx eax, byte [esi]
or ebx, 0x10
lea edi, [eax - 9]
cmp edi, 0x56
ja case.default.0x470860
jmp dword [edi*4 + 0x4ed0c0]
cmp dword [esp + 0xa4], 0
jne 0x4708e2
jmp case.0x470860.10
or ebx, 0x40
lea edi, [ebp + ebp]
inc edx
lea ebp, [edi + ebp*8]
lea ebp, [ebp + eax - 0x30]
jmp 0x4708e2
test edx, edx
jne case.0x470860.49
or ebx, 0x40
jmp 0x4708e2
test ecx, ecx
jne 0x4708e2
jmp case.default.0x470860
or ebx, 0x80
jmp case.0x470860.43
cmp dword [esp + 0xc4], 0
jne 0x4708e2
jmp case.default.0x470860
mov eax, ebx
and eax, 0x20
or eax, edx
jne case.default.0x470860
or ebx, 0x20
jmp 0x4708e2
cmp dword [esp + 0x9c], 0
jne 0x4708e2
jmp 0x470907
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [esp]
mov ebp, dword [esp + 0xe4]
jmp 0x46fe00
cmp dword [esp + 0xc0], 0
je case.default.0x470860
inc esi
dec dword [esp + 0xf4]
jne 0x47084e
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [esp]
mov ebp, dword [esp + 0xe4]
jmp 0x46fe00
cmp dword [esp + 0xbc], 0
je case.default.0x470860
mov eax, 0x30
jmp case.0x470860.48
fstp st(0)
mov ebp, dword [esp + 0xe4]
mov eax, ebx
and eax, 0x1800
mov dword [esp + 8], eax
cmp eax, 0x800
jne 0x47093e
fld dword [0x4ede14]
jmp 0x470989
push dword [esp + 0xf4]
push esi
call fcn.00470d50
add esp, 8
mov dword [esp + 4], edx
fld dword [esp + 4]
sub dword [esp + 0xf4], eax
jns 0x470970
fstp st(0)
fld dword [0x4ede14]
xor eax, eax
mov dword [esp + 0xf4], eax
add esi, eax
test bl, 2
je 0x470989
test bl, 8
jne 0x470989
fstp dword [esp]
and dword [esp], 0x7fffffff
fld dword [esp]
cmp dword [esp + 0x9c], 0
je 0x4709b4
cmp dword [esp + 0xf4], 0
je 0x4709b4
mov eax, dword [esp + 0xf4]
cmp byte [esi], 0x20
jne 0x4709ad
inc esi
dec eax
jne 0x4709a4
mov dword [esp + 0xf4], eax
cmp dword [esp + 8], 0x800
jne 0x4709ca
cmp dword [esp + 0xf4], 0
jne 0x4709db
jmp 0x4709ec
movsx eax, byte [esi]
test eax, eax
je 0x4709ec
cmp dword [esp + 0xf4], 0
je 0x4709ec
mov eax, ebx
or eax, 0x3000000
test ebp, 0x8000
je 0x4709ec
mov ebx, eax
and ebx, 0xfffffff7
mov edx, ebx
or edx, 0xa000000
cmp dword [esp + 0xb4], 0
jne 0x470a03
mov edx, ebx
cmp dword [esp + 0xac], 0
je 0x470a16
mov eax, dword [esp + 0xac]
mov dword [eax], esi
mov eax, dword [esp + 0x130]
test eax, eax
je 0x470a26
shr edx, 0x18
mov dword [eax], edx
add esp, 0x104
pop ebp
pop ebx
pop edi
pop esi
ret
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp case.0x46fa39.10
mov dword [esp + 0xf4], edi
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x46fc81
fstp st(0)
mov dword [esp + 0xf4], edi
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x46fc1e
mov ebp, dword [esp + 0xe4]
jmp 0x470818
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0xd0]
jae 0x470ab2
inc eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ebp
mov dword [esp + eax*4 + 0x18], ecx
mov dword [esp + 0xf8], 1
jmp 0x46fddc
or dword [esp + 0xe8], ebp
jmp 0x46fddc
fstp st(0)
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp + 0xe4]
jmp 0x470924
mov ecx, 0x4e
jmp 0x46fb7c
mov ebp, dword [esp + 0xe4]
dec esi
inc dword [esp + 0xf4]
jmp 0x470818
cmp dword [esp + 0xbc], 0
je case.0x46fa39.10
mov ebp, 0x30
jmp case.0x46fa39.48
mov eax, dword [esp + 0xec]
xor ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xe4], ebp
lea edx, [esp + eax*4 + 0x58]
mov esi, ecx
lea edi, [esp + eax*4 + 0x18]
mov ebp, dword [edi + esi*4]
inc ecx
mov dword [edx + esi*4], ebp
dec esi
cmp ecx, eax
jb 0x470b27
mov dword [esp + 0xec], eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xe4]
jmp 0x4700d5
mov ebp, dword [esp + 0xe4]
jmp 0x46fdf1
movsx eax, byte [esi]
mov edx, esi
jmp 0x46f91f
mov dword [esp + 0xb4], eax
mov ebx, 0x6000000
fldz
jmp 0x4707c9