Function at 0x46cba0
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 0x46ccad
test ebp, 0x10000
je 0x46cca6
lea eax, [esp + 0x137]
and eax, 0xfffffffc
movsx edi, byte [eax]
jmp 0x46ccb2
mov edi, 0x2c
jmp 0x46ccb2
mov edi, 0x2e
cmp dword [esp + 0xf4], 0
jle 0x46df80
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 0x46df76
mov dword [esp + 0xe4], ebp
mov edx, dword [esp + 0xf4]
movsx eax, byte [esi]
lea ecx, [eax - 9]
cmp ecx, 0x20
jae 0x46cd2f
mov ebp, 1
shl ebp, cl
test ebp, 0x80001f
je 0x46cd2f
inc esi
dec edx
jne 0x46ccff
mov dword [esp + 0xf4], edx
mov edx, esi
mov ebp, dword [esp + 0xe4]
jmp 0x46cd59
mov dword [esp + 0xf4], edx
mov edx, esi
mov ebp, dword [esp + 0xe4]
cmp eax, 0x2d
jne 0x46cd49
or ebx, 8
jmp 0x46cd4e
cmp eax, 0x2b
jne 0x46cd59
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 0x46d211
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.0x46ce59.10
jmp dword [eax*4 + 0x4e99a0]
cmp dword [esp + 0xa4], 0
jne 0x46d1fc
jmp case.0x46ce59.10
cmp dword [esp + 0xe0], 0
je case.0x46ce59.10
test ebx, 0x200
jne case.0x46ce59.10
cmp dword [esp + 0xfc], 0
jne case.0x46ce59.10
cmp dword [esp + 0xc8], 1
jne case.0x46ce59.10
xor ebx, 4
mov dword [esp + 0xd4], 8
or ebx, 0x200
mov dword [esp + 0xd0], 1
mov dword [esp + 0xcc], 3
jmp 0x46d1fc
mov eax, ebx
and eax, 0x200
or eax, dword [esp + 0xdc]
jne case.0x46ce59.10
jmp 0x46dc31
test ebx, 0x200
je case.0x46ce59.10
jmp 0x46dc31
test ebx, 0x800
je case.0x46ce59.10
mov ecx, dword [esp + 0xc8]
mov eax, ebx
or ecx, dword [esp + 0xfc]
and eax, 0x201
or ecx, eax
jne case.0x46ce59.10
mov ecx, dword [esp + 0xf4]
mov eax, esi
mov dword [esp + 0x14], 0x4e9304
test ecx, ecx
mov dword [esp + 0xc], ecx
jle 0x46def3
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 0x46dede
movsx eax, byte [esi]
or ecx, 0x20
or eax, 0x20
inc edi
cmp eax, ecx
jne 0x46de51
dec ebp
inc esi
test ebp, ebp
jg 0x46cf5e
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 0x46dd3b
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf4], eax
jmp case.0x46ce59.10
test ebx, 0x800
je case.0x46ce59.10
mov ecx, dword [esp + 0xc8]
mov eax, ebx
or ecx, dword [esp + 0xfc]
and eax, 0x201
or ecx, eax
jne case.0x46ce59.10
mov dword [esp + 0x10], esi
mov eax, str.Infinity
cmp dword [esp + 0xf4], 0
jle 0x46d0a1
mov dword [esp + 8], edi
mov dword [esp], ebp
mov edi, dword [esp + 0xf4]
movsx ebp, byte [eax]
test ebp, ebp
je 0x46de77
movsx ecx, byte [esi]
or ebp, 0x20
or ecx, 0x20
cmp ecx, ebp
jne 0x46de64
dec edi
inc eax
inc esi
test edi, edi
jg 0x46d004
mov dword [esp + 0xf4], edi
movsx ecx, byte [eax]
test ecx, ecx
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jne 0x46d0a1
fstp st(0)
mov edx, esi
test bl, 8
je 0x46d04d
fld dword [0x4ea8bc]
jmp 0x46d053
fld dword [0x4ea8b8]
and ebx, 0xfffffff7
mov eax, ebx
or eax, 0xc000000
cmp dword [esp + 0xb4], 0
je 0x46d069
mov ebx, eax
cmp dword [esp + 0x9c], 0
je case.0x46ce59.10
cmp dword [esp + 0xf4], 0
je case.0x46ce59.10
mov eax, dword [esp + 0xf4]
cmp byte [esi], 0x20
jne 0x46d095
inc esi
dec eax
jne 0x46d08c
mov dword [esp + 0xf4], eax
jmp case.0x46ce59.10
cmp byte [eax - 1], 0x66
je 0x46d03c
mov ecx, dword [esp + 0x10]
mov esi, ecx
neg ecx
add eax, ecx
mov dword [esp + 0xf4], eax
jmp case.0x46ce59.10
test ebx, 0x200
jne 0x46d0f1
jmp 0x46de8c
test ebx, 0x200
jne 0x46d0f1
cmp dword [esp + 0xdc], 0
jne case.0x46ce59.10
jmp 0x46de8c
test ebx, 0x200
je case.0x46ce59.10
or ebp, 0x20
add ebp, 0xffffffa9
jmp 0x46d0fc
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 0x46de98
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 0x46d1fc
cmp dword [esp + 0xfc], 0
jne case.0x46ce59.49
mov eax, ebx
or ebx, 4
and eax, 1
add dword [esp + 0x100], eax
xor eax, 1
add dword [esp + 0xc8], eax
jmp 0x46d1fc
cmp dword [esp + 0xb8], 0
jne 0x46d1fc
jmp case.0x46ce59.10
cmp dword [esp + 0xc4], 0
jne 0x46d1fc
jmp case.0x46ce59.10
cmp dword [esp + 0xd8], 0
jne case.0x46ce59.10
jmp 0x46defd
cmp dword [esp + 0x9c], 0
jne 0x46d1fc
jmp 0x46df11
cmp dword [esp + 0xc0], 0
jne 0x46d1fc
cmp ebp, edi
jne 0x46df6a
test bl, 1
jne 0x46df6a
xor eax, eax
or ebx, 1
mov dword [esp + 0x100], eax
inc esi
dec dword [esp + 0xf4]
jne 0x46ce4a
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 0x46d22e
mov eax, edx
test bl, 0x40
je 0x46d235
mov eax, esi
mov dword [esp + 0xb4], eax
test ebp, 0x8000
je 0x46d276
cmp dword [esp + 0xa0], 0
je 0x46d261
cmp dword [esp + 0xf4], 0
je 0x46d276
movsx eax, byte [esi]
test eax, eax
jne 0x46d26b
jmp 0x46d276
cmp dword [esp + 0xf4], 0
je 0x46d276
or ebx, 0x3000000
jmp 0x46dbe9
cmp dword [esp + 0xfc], 0
jne 0x46d2bb
mov eax, ebx
and eax, 0xc
cmp eax, 0xc
jne 0x46d29a
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 0x46dbe9
mov ebx, edx
jmp 0x46dbe9
fstp st(0)
test bl, 0x10
je 0x46d2f7
cmp dword [esp + 8], 6
ja 0x46db1e
mov eax, dword [esp + 4]
mov ecx, eax
neg ecx
test ebx, 0x80
mov edx, dword [esp + 0x98]
jne 0x46d2e6
mov ecx, eax
test ebp, 0x400
jne 0x46d2f3
mov edx, 0
sub ecx, edx
jmp 0x46d300
mov ecx, dword [esp + 0x98]
neg ecx
mov eax, ebx
and eax, 1
test ebx, 0x200
je 0x46d50c
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 0x46d33a
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 0x46d3a3
mov dword [esp + 4], 0
cmp dword [esp + 0xf0], 0
jle 0x46d388
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 4]
add eax, eax
inc edx
test eax, eax
jg 0x46d376
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 0x46d4f5
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 0x46d3d0
dec eax
cmp dword [esp + eax*4 + 0x18], 0
je 0x46d3c1
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 4], edx
test eax, eax
jle 0x46d46d
add eax, eax
inc edx
test eax, eax
jg 0x46d3e2
mov dword [esp + 4], edx
mov dword [esp + 0x1c], eax
cmp dword [esp + 4], 0
je 0x46d46d
mov dword [esp + 0x5c], eax
cmp dword [esp + 0xec], 1
jbe 0x46d4f5
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 0x46d430
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 0x46d4f5
cmp dword [esp + 0xec], 0
je 0x46d4f5
mov eax, dword [esp + 0xec]
cmp eax, 0x18
lea ecx, [eax*4]
jle 0x46df29
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 0x46df29
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.004c0ee0
add esp, 0xc
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
jmp 0x46d80b
test eax, eax
je 0x46d519
sub ecx, dword [esp + 0x100]
jmp 0x46d520
sub ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xfc]
add eax, ecx
cmp eax, 0xffffffd3
jl 0x46db1e
cmp eax, 0x27
jg 0x46db1e
mov edi, dword [esp + 0xfc]
lea eax, [edi - 0x1b]
test eax, eax
lea edx, [ecx + edi - 0x1b]
jg 0x46d54f
mov edx, ecx
mov dword [esp], edx
cmp edi, 9
ja 0x46d583
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
shr eax, 0x1f
fadd qword [eax*8 + 0x4e9980]
fstp qword [esp + 8]
fld qword [esp + 8]
jmp 0x46d621
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
shr eax, 0x1f
cmp dword [esp + 0xec], 2
fadd qword [eax*8 + 0x4e9980]
fstp qword [esp + 8]
fld qword [esp + 8]
jb 0x46d5e6
fld qword [0x4eac60]
mov edx, 2
mov eax, dword [esp + 0xec]
jmp 0x46d5bd
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 + 0x4e9980]
fstp qword [esp + 8]
fld qword [esp + 8]
jbe 0x46d5bb
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 + 0x4eac18]
fxch st(1)
fadd qword [edx*8 + 0x4e9980]
fstp qword [esp + 8]
fld qword [esp + 8]
faddp st(1)
cmp dword [esp], 0xffffffd1
jle 0x46d633
mov eax, dword [esp]
fmul qword [eax*8 + 0x4eac18]
jmp 0x46d68b
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 + 0x4eae40]
lea esi, [ebx + 1]
shr edx, 5
cmp edx, ecx
jl 0x46d65e
mov esi, ebx
movzx edx, word [esi*2 + 0x4eae40]
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 + 0x4eada0]
fmul qword [eax*8 + 0x4eac18]
fmulp st(1)
test ebp, 0x400000
je 0x46d6a0
fstp qword [esp]
and dword [esp], 0xefffffff
fld qword [esp]
fld st(0)
fstp qword [esp + 8]
fld qword [esp + 8]
fcomp qword [0x4ea7f8]
fnstsw ax
sahf
jbe 0x46d6bc
fstp st(0)
jmp 0x46db1e
fld qword [0x4ea800]
fld st(1)
fstp qword [esp + 8]
fld qword [esp + 8]
fcompp
fnstsw ax
sahf
jae 0x46dbd4
jp 0x46dbd4
test ebp, 0x10000000
jne 0x46d6b5
fld qword [0x4ea808]
fld st(1)
fstp qword [esp + 8]
fld qword [esp + 8]
fcompp
fnstsw ax
sahf
jae 0x46d705
jp 0x46d705
fstp st(0)
jmp 0x46db1e
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 0x46d751
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 0x46d7d8
cmp dword [esp + 0xc], 0
je 0x46d7a6
mov eax, dword [esp + 0xc]
shl eax, 0xc
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp], 0
jle 0x46d77f
mov edx, dword [esp]
add eax, eax
inc edx
test eax, eax
jg 0x46d771
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 0x46d7d8
mov edx, eax
xor eax, eax
mov dword [esp + 0xc], edx
test edx, edx
jle 0x46d7bd
add edx, edx
inc eax
test edx, edx
jg 0x46d7b2
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 0x46d823
mov eax, 6
mov edx, eax
and edx, 2
test al, 4
je 0x46d843
test edx, edx
mov edx, 0xaaaa
jne 0x46d83a
mov edx, 0xfa
mov dword [esp + 0x98], edx
jmp 0x46d869
test edx, edx
je 0x46d854
mov dword [esp + 0x98], 0xfa00
jmp 0x46d869
mov edx, 0xa8a8
test al, 1
je 0x46d862
mov edx, 0
mov dword [esp + 0x98], edx
cmp eax, 2
je 0x46d873
cmp eax, 4
jne 0x46d87a
mov eax, 1
jmp 0x46d87c
xor eax, eax
mov edx, dword [esp + 0xb0]
lea edx, [edx + 0x95]
cmp edx, 0x18
jle 0x46d895
mov edx, 0x18
jmp 0x46d89d
test edx, edx
js 0x46db1e
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 0x46d8d5
test eax, eax
je 0x46daee
cmp dword [esp + 0x9c], 0
je 0x46daa9
mov eax, ecx
cmp dword [esp + 0xa4], 0
mov ecx, dword [esp + eax*4 + 0x58]
mov dword [esp + 4], ecx
je 0x46d9a8
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 0x46da1e
mov eax, dword [esp + 0xa0]
lea ecx, [edx + eax + 1]
cmp ecx, dword [esp + 0xec]
ja 0x46da1e
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
or edi, dword [esp + ecx*4 + 0x58]
inc ecx
cmp ecx, eax
jbe 0x46d996
mov dword [esp + 0xe8], edi
jmp 0x46da1e
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 0x46da16
mov eax, ecx
lea ecx, [edx + eax + 2]
cmp ecx, dword [esp + 0xec]
ja 0x46da16
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
or edi, dword [esp + ecx*4 + 0x58]
inc ecx
cmp ecx, eax
jbe 0x46d9fc
mov dword [esp + 0xe8], edi
mov dword [esp + 8], 1
jmp 0x46da1e
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 0x46daee
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
add eax, ecx
mov dword [esp + 4], eax
cmp eax, ecx
jae 0x46dabf
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 0x46daa5
dec ecx
lea edx, [esp + ecx*4 + 0x58]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x46da99
test ecx, ecx
jne 0x46daba
inc dword [esp + 0xb0]
mov dword [esp + 0x5c], 0x80000000
jmp 0x46daee
inc eax
mov dword [edx], eax
jmp 0x46daee
cmp dword [esp + 0xa4], 0
je 0x46dae3
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 0x46daee
mov edx, dword [esp + 0x9c]
mov dword [esp + edx*4 + 0x58], eax
cmp dword [esp + 0xb0], 0x80
jg 0x46db1e
cmp dword [esp + 0xb0], 0xffffff82
jg 0x46db9f
cmp dword [esp + 0xb0], 0xffffff6c
jl 0x46db1e
test ebp, 0x10000000
je 0x46db79
test ebx, 0x80
je 0x46db53
test bl, 8
je 0x46db33
fld dword [0x4ea8ac]
jmp 0x46db39
fld dword [0x4ea8a8]
mov eax, ebx
or eax, 0x9000000
test ebp, 0x4000
je 0x46dbe9
mov ebx, eax
jmp 0x46dbe9
test bl, 8
je 0x46db60
fld dword [0x4ea8bc]
jmp 0x46db66
fld dword [0x4ea8b8]
mov eax, ebx
or eax, 0x8000000
test ebp, 0x2000
je 0x46dbe9
mov ebx, eax
jmp 0x46dbe9
mov edx, ebx
mov ecx, dword [esp + 0xb0]
or edx, 0x9000000
neg ecx
test ebp, 0x4000
mov eax, dword [esp + 0x5c]
je 0x46db98
mov ebx, edx
add ecx, 0xb
shr eax, cl
jmp 0x46dbbd
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 0x46dbcc
mov edx, eax
mov dword [esp], edx
fld dword [esp]
jmp 0x46dbe9
fstp dword [esp + 0x98]
test bl, 8
fld dword [esp + 0x98]
je 0x46dbe9
fchs
cmp dword [esp + 0xac], 0
je 0x46dc16
test ebp, 0x40000
je 0x46dc0d
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov dword [edx], eax
jmp 0x46dc16
mov eax, dword [esp + 0xac]
mov dword [eax], esi
mov eax, dword [esp + 0x130]
test eax, eax
je 0x46dc26
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 0x46d220
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.0x46dc80
jmp dword [edi*4 + 0x4e9b60]
cmp dword [esp + 0xa4], 0
jne 0x46dd02
jmp case.0x46dc80.10
or ebx, 0x40
lea edi, [ebp + ebp]
inc edx
lea ebp, [edi + ebp*8]
lea ebp, [ebp + eax - 0x30]
jmp 0x46dd02
test edx, edx
jne case.0x46dc80.49
or ebx, 0x40
jmp 0x46dd02
test ecx, ecx
jne 0x46dd02
jmp case.default.0x46dc80
or ebx, 0x80
jmp case.0x46dc80.43
cmp dword [esp + 0xc4], 0
jne 0x46dd02
jmp case.default.0x46dc80
mov eax, ebx
and eax, 0x20
or eax, edx
jne case.default.0x46dc80
or ebx, 0x20
jmp 0x46dd02
cmp dword [esp + 0x9c], 0
jne 0x46dd02
jmp 0x46dd27
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [esp]
mov ebp, dword [esp + 0xe4]
jmp 0x46d220
cmp dword [esp + 0xc0], 0
je case.default.0x46dc80
inc esi
dec dword [esp + 0xf4]
jne 0x46dc6e
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edx, dword [esp]
mov ebp, dword [esp + 0xe4]
jmp 0x46d220
cmp dword [esp + 0xbc], 0
je case.default.0x46dc80
mov eax, 0x30
jmp case.0x46dc80.48
fstp st(0)
mov ebp, dword [esp + 0xe4]
mov eax, ebx
and eax, 0x1800
mov dword [esp + 8], eax
cmp eax, 0x800
jne 0x46dd5e
fld dword [0x4ea8b4]
jmp 0x46dda9
push dword [esp + 0xf4]
push esi
call fcn.0046e170
add esp, 8
mov dword [esp + 4], edx
fld dword [esp + 4]
sub dword [esp + 0xf4], eax
jns 0x46dd90
fstp st(0)
fld dword [0x4ea8b4]
xor eax, eax
mov dword [esp + 0xf4], eax
add esi, eax
test bl, 2
je 0x46dda9
test bl, 8
jne 0x46dda9
fstp dword [esp]
and dword [esp], 0x7fffffff
fld dword [esp]
cmp dword [esp + 0x9c], 0
je 0x46ddd4
cmp dword [esp + 0xf4], 0
je 0x46ddd4
mov eax, dword [esp + 0xf4]
cmp byte [esi], 0x20
jne 0x46ddcd
inc esi
dec eax
jne 0x46ddc4
mov dword [esp + 0xf4], eax
cmp dword [esp + 8], 0x800
jne 0x46ddea
cmp dword [esp + 0xf4], 0
jne 0x46ddfb
jmp 0x46de0c
movsx eax, byte [esi]
test eax, eax
je 0x46de0c
cmp dword [esp + 0xf4], 0
je 0x46de0c
mov eax, ebx
or eax, 0x3000000
test ebp, 0x8000
je 0x46de0c
mov ebx, eax
and ebx, 0xfffffff7
mov edx, ebx
or edx, 0xa000000
cmp dword [esp + 0xb4], 0
jne 0x46de23
mov edx, ebx
cmp dword [esp + 0xac], 0
je 0x46de36
mov eax, dword [esp + 0xac]
mov dword [eax], esi
mov eax, dword [esp + 0x130]
test eax, eax
je 0x46de46
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.0x46ce59.10
mov dword [esp + 0xf4], edi
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x46d0a1
fstp st(0)
mov dword [esp + 0xf4], edi
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x46d03e
mov ebp, dword [esp + 0xe4]
jmp 0x46dc38
mov eax, dword [esp + 0xec]
cmp eax, dword [esp + 0xd0]
jae 0x46ded2
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 0x46d1fc
or dword [esp + 0xe8], ebp
jmp 0x46d1fc
fstp st(0)
mov dword [esp + 0xf4], ebp
mov ebp, dword [esp + 0xe4]
jmp 0x46dd44
mov ecx, 0x4e
jmp 0x46cf9c
mov ebp, dword [esp + 0xe4]
dec esi
inc dword [esp + 0xf4]
jmp 0x46dc38
cmp dword [esp + 0xbc], 0
je case.0x46ce59.10
mov ebp, 0x30
jmp case.0x46ce59.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 0x46df47
mov dword [esp + 0xec], eax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xe4]
jmp 0x46d4f5
mov ebp, dword [esp + 0xe4]
jmp 0x46d211
movsx eax, byte [esi]
mov edx, esi
jmp 0x46cd3f
mov dword [esp + 0xb4], eax
mov ebx, 0x6000000
fldz
jmp 0x46dbe9