Function at 0x46c300
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
movzx eax, word [edx]
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], ecx
push esi
push edi
cmp ax, 0x40
jle 0x46c33e
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.0040d2b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x14], 0x40
je 0x46c34b
mov eax, 1
jmp 0x46c34c
cwde
mov ecx, dword [ecx]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x3f
mov dword [esp + 0x30], eax
and esi, 0xfffffff8
mov dword [esp + 0x48], ecx
lea edi, [esi + 0x26c]
mov edx, edi
call fcn.0040b030
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x46c389
push edi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x1e], 0
je 0x46c3a5
push ecx
push eax
call fcn.0040add0
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x2c]
call fcn.00425bb0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
push 0x104
push 0
mov dword [ecx + 0x18], eax
lea eax, [ecx + esi]
mov dword [ecx + 0x20], eax
lea esi, [eax + 0x168]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov word [ecx + 4], dx
movsd xmm0, qword [edi + 0x1c0]
movsd qword [ecx + 0x28], xmm0
test byte [eax + 0xc], 0x80
mov eax, 0
push esi
cmove eax, dword [ebp + 0x10]
mov dword [esp + 0x98], esi
mov dword [esp + 0x50], eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [ecx + 0x28]
mov dword [ecx + 4], esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov word [ecx + 0x16], ax
cmp dword [edi + 0x15c], 0
jne 0x46c495
mov eax, dword [edi]
test byte [eax + 0xc], 0x40
jne 0x46c495
mov edx, esi
mov dword [esp + 0x90], 0x43b340
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], edi
call fcn.004345b0
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], 0x45
test esi, esi
je 0x46c52b
cmp byte [esi], 0x45
je 0x46c4b1
push 0
mov edx, esi
call fcn.00466b80
jmp 0x46c4cc
mov edx, dword [esi + 8]
push 0x45
call fcn.00466c70
mov edx, dword [esi + 0xc]
add esp, 4
mov ecx, dword [esp + 0x18]
push 0x45
call fcn.00466c70
add esp, 4
cmp dword [esp + 0x30], 0
je 0x46c50f
mov edx, esi
mov dword [esp + 0x9c], 3
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0x437ac0
mov dword [esp + 0x94], 0x437ba0
call fcn.004345b0
cmp dword [esp + 0x9c], 0
je 0x46c52b
mov eax, dword [esp + 0x10]
mov edx, esi
push 8
mov ecx, edi
push dword [eax + 0x18]
call fcn.0043baf0
add esp, 8
mov dword [ebp + 8], 0
mov edi, dword [esp + 0x3c]
xor eax, eax
xor esi, esi
cmp ax, word [edi]
jge 0x46c594
mov edx, dword [esp + 0x8c]
add edi, 0x14
mov ecx, dword [edx]
mov eax, dword [edi + 0x14]
mov dword [edx + ecx*4 + 4], eax
inc dword [edx]
mov eax, dword [edi]
test eax, eax
je 0x46c581
test byte [eax + 0x22], 0x10
je 0x46c581
xor ecx, ecx
mov eax, esi
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x18]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x3c]
inc esi
add edi, 0x40
movsx eax, word [eax]
cmp esi, eax
jl 0x46c542
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x18]
sub esi, 1
js 0x46c5b6
push esi
mov edx, eax
mov ecx, edi
call fcn.00467c30
mov eax, dword [esp + 0x1c]
add esp, 4
sub esi, 1
jns 0x46c5a0
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x1e], 0
jne 0x46cbb1
mov edx, dword [esp + 0x44]
test edx, edx
je 0x46c68f
cmp word [edi], 1
jne 0x46c68b
mov ecx, dword [edi + 0x28]
xor esi, esi
mov eax, dword [edi + 0x14]
mov edi, dword [edx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], eax
test edi, edi
jle 0x46c61a
mov edx, dword [edx + 0xc]
mov eax, dword [edx]
cmp byte [eax], 0x98
jne 0x46c60a
cmp dword [eax + 0x18], ecx
jne 0x46c60a
cmp word [eax + 0x1c], 0
jl 0x46c808
inc esi
add edx, 0x14
cmp esi, edi
jl 0x46c5f3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x46c68b
cmp byte [esi + 0x18], 0
je 0x46c680
xor edi, edi
cmp edi, dword [esi + 4]
jge 0x46c67a
nop
mov eax, dword [esi + 8]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push esi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [eax + edi*4]
call fcn.00466f10
add esp, 0x14
test eax, eax
jne 0x46c669
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push edi
push esi
push dword [esp + 0x54]
call fcn.00468560
add esp, 0xc
test eax, eax
js 0x46c673
mov ecx, dword [esp + 0x4c]
inc edi
cmp edi, dword [esi + 4]
jl 0x46c630
mov ecx, dword [esp + 0x4c]
cmp edi, dword [esi + 4]
je 0x46c808
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x46c621
mov edx, dword [esp + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
lea eax, [edx + 0x38]
xor esi, esi
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], eax
test edi, edi
jle 0x46cbdb
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movlpd qword [esp + 0xb8], xmm0
lea edx, [edi - 1]
movsd xmm1, qword [esp + 0xb8]
xor ecx, ecx
movlpd qword [esp + 0xb0], xmm0
or eax, 0xffffffff
movaps xmm2, xmmword [esp + 0xb0]
cmp esi, edx
movlpd qword [esp + 0xc0], xmm0
movsd xmm0, qword [0x4807a0]
setl cl
movsd qword [esp + 0x80], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
movsd qword [esp + 0xa8], xmm1
movaps xmmword [esp + 0x90], xmm2
mov dword [esp + 0x40], ecx
test eax, eax
jns 0x46ca62
mov ecx, dword [esp + 0x3c]
mov eax, esi
shl eax, 6
add ecx, 8
add ecx, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ecx
cmp esi, edi
jge 0x46ca53
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
sub edx, 0xffffff80
shl eax, 4
add eax, edx
mov edx, esi
mov dword [esp + 0x5c], eax
nop
mov al, byte [ecx + 0x1c]
and al, 0xa
mov byte [esp + 0x53], al
cmp edx, esi
je 0x46c7a5
test al, al
jne 0x46ca53
mov edi, dword [esp + 0x8c]
xor eax, eax
mov edx, dword [edi]
test edx, edx
jle 0x46c7cc
mov esi, dword [ecx + 0x20]
lea ecx, [edi + 4]
nop word [eax + eax]
cmp dword [ecx], esi
je 0x46c81d
inc eax
add ecx, 4
cmp eax, edx
jl 0x46c7c0
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
mov ecx, esi
mov eax, edi
and ecx, edx
and eax, dword [esp + 0x58]
or ecx, eax
jne 0x46c834
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
cmp edx, ecx
lea esi, [ecx + 1]
cmovne esi, ecx
mov dword [esp + 0x6c], esi
jmp 0x46ca2c
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov byte [edx + 8], 1
jmp 0x46c693
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x46c7dd
cmp dword [esp + 0x7c], 0
je 0x46c845
mov dword [esp + 0x20], esi
mov dword [esp + 0x74], edi
jmp 0x46c851
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], eax
cmp dword [esp + 0x4c], 0
jne 0x46c863
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46c863
mov ecx, dword [eax]
jmp 0x46c865
xor ecx, ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x78]
inc eax
cmp dword [edx + 0x3c], 0
cmovne eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, edx
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xe0]
je 0x46c8ba
push dword [esp + 0x5c]
push eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x70]
push dword [esp + 0x88]
push edx
push dword [esp + 0x70]
mov edx, dword [esp + 0x38]
call fcn.00469400
jmp 0x46c8e9
push eax
xor eax, eax
cmp dword [esp + 0x50], eax
cmove eax, dword [esp + 0x48]
push eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x70]
push dword [esp + 0x88]
push edx
push dword [esp + 0x70]
mov edx, dword [esp + 0x38]
call fcn.004696e0
mov edx, dword [esp + 0x100]
add esp, 0x20
cmp dword [esp + 0x7c], 0
je 0x46c90a
test edx, 0x100f3000
jne 0x46c90a
or dword [esp + 0x40], esi
or dword [esp + 0x64], edi
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
and ecx, dword [esp + 0x60]
and eax, dword [esp + 0x58]
or ecx, eax
jne 0x46ca0c
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x46c955
and esi, dword [esp + 0x40]
and edi, dword [esp + 0x64]
or esi, edi
jne 0x46c955
test dword [esp + 0xb0], 0x100f3000
je 0x46c955
test edx, 0x100f3000
je 0x46ca0c
cmp dword [esp + 0x78], 0
je 0x46c972
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x3c], 0
je 0x46c972
test edx, 0x100f3000
je 0x46ca0c
test ecx, ecx
js 0x46c9a4
movsd xmm1, qword [esp + 0x80]
comisd xmm1, xmmword [esp + 0xf8]
ja 0x46c9a4
movsd xmm1, qword [esp + 0xa8]
jb 0x46ca15
comisd xmm1, xmmword [esp + 0xe8]
jbe 0x46ca15
movaps xmm0, xmmword [esp + 0xf0]
movaps xmm2, xmmword [esp + 0xe0]
mov edx, dword [esp + 0x38]
movaps xmmword [esp + 0xc0], xmm0
movq xmm0, qword [esp + 0x100]
movaps xmmword [esp + 0xb0], xmm2
movsd xmm1, qword [esp + 0xb8]
movq qword [esp + 0xd0], xmm0
movsd xmm0, qword [esp + 0xc8]
movaps xmmword [esp + 0x90], xmm2
mov dword [esp + 0x68], edx
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0xa8], xmm1
jmp 0x46ca21
movsd xmm1, qword [esp + 0xa8]
movaps xmm2, xmmword [esp + 0x90]
mov edx, dword [esp + 0x38]
cmp byte [esp + 0x53], 0
mov esi, dword [esp + 0x6c]
jne 0x46ca4f
mov ecx, dword [esp + 0x54]
inc edx
add dword [esp + 0x5c], 0x50
add ecx, 0x40
mov edi, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], ecx
cmp edx, edi
jl 0x46c790
jmp 0x46ca53
mov edi, dword [esp + 0x30]
sub dword [esp + 0x7c], 1
mov eax, dword [esp + 0x68]
jns 0x46c753
mov edi, dword [esp + 0xb0]
test edi, 0x1000000
je 0x46ca7e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46ca7e
mov dword [eax], 0
test edi, 0x40000000
je 0x46ca8e
mov edx, dword [esp + 0x10]
mov byte [edx + 8], 2
mov edx, dword [esp + 0x34]
and dword [esp + 0x1c], edi
movq xmm0, qword [esp + 0xc0]
movups xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
test edi, 0x200f0000
je 0x46cabe
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ecx + 0x44]
jmp 0x46cac5
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [eax + 0x168]
test edx, edx
jle 0x46cb00
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x3c]
shl eax, 6
mov esi, dword [eax + esi + 0x28]
mov eax, dword [esp + 0x18]
add eax, 0x16c
nop dword [eax]
cmp dword [eax], esi
je 0x46cb87
inc ecx
add eax, 4
cmp ecx, edx
jl 0x46caf0
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x34]
not eax
and dword [esp + 0x60], eax
not edx
and dword [esp + 0x58], edx
comisd xmm1, xmmword [0x4806d0]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x34], al
jb 0x46cb4f
mulsd xmm1, qword [ecx + 0x1c0]
movsd qword [ecx + 0x1c0], xmm1
mov edx, dword [esp + 0x3c]
shl eax, 6
mov eax, dword [eax + edx + 0x44]
test eax, eax
je 0x46cb66
test edi, 0xf0000
je 0x46cba1
mov edx, dword [esp + 0x4c]
add esi, 0x50
mov edi, dword [esp + 0x30]
inc edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], esi
cmp edx, edi
jge 0x46cbd7
mov esi, dword [esp + 0x6c]
jmp 0x46c6cc
xor eax, eax
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
jmp 0x46cb1a
push dword [eax]
push str.cannot_use_index:__s
push ecx
call fcn.0040d2b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movsd xmm0, qword [edx + 0x28]
movsd qword [ecx + 0x1c0], xmm0
mov ecx, dword [esp + 0x48]
call fcn.0046c250
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x40], 0
jne 0x46cbb5
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x1e], 0
jne 0x46cbb5
mov eax, dword [esp + 0x1c]
and eax, 0x4000000
mov dword [esp + 0x1c], eax
je 0x46cc0f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46cc0b
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test byte [ebp + 0x14], 4
je 0x46cc24
test eax, eax
je 0x46cc24
mov byte [edx + 6], 1
and dword [edx + 0x38], 0xff7fffff
mov eax, dword [ecx + 0x1a8]
mov edi, ecx
test eax, eax
cmovne edi, eax
cmp dword [edi + 0x15c], 0
jne 0x46cca6
mov ecx, edi
call fcn.0045a840
mov esi, eax
test esi, esi
je 0x46cca6
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x20], edx
cmp dword [esi + 0x20], edx
jg 0x46cc69
mov ecx, esi
call fcn.00425920
test eax, eax
je 0x46cc65
mov edx, 1
jmp 0x46cc9d
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov dword [edi + 0x15c], eax
mov edx, dword [esp + 0x10]
movsd xmm0, qword [0x4806d0]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
movsd qword [edx + 0x30], xmm0
test ecx, ecx
jle 0x46d038
mov dword [esp + 0x64], ecx
lea edi, [edx + 0x38]
nop word [eax + eax]
movzx eax, byte [edi + 0x34]
mov ecx, dword [esp + 0x3c]
movsd xmm0, qword [edi + 8]
add ecx, 8
shl eax, 6
add ecx, eax
mov dword [esp + 0x1c], ecx
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x1c], eax
mov edi, 0xfff0bdc0
mulsd xmm0, qword [edx + 0x30]
movsd qword [edx + 0x30], xmm0
mov edx, dword [esi + 0x44]
test edx, edx
je 0x46cd40
mov eax, dword [esp + 0x48]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x46cd3c
mov eax, dword [eax + 8]
add eax, 0xc
nop dword [eax + eax]
cmp dword [eax], edx
je 0x46cd3c
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x46cd30
mov ecx, dword [esp + 0x1c]
test byte [esi + 0x22], 2
jne 0x46cef5
cmp dword [esi + 0x1c], 0
jne 0x46cef5
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
test eax, 0x8000000
je 0x46ce12
mov esi, dword [esi + 0x34]
test esi, esi
je 0x46cd7b
mov eax, dword [esp + 0x48]
cmp dword [esi], eax
je 0x46cd7b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x46cd70
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 0x1c]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [ecx + 0x20], edx
jg 0x46cdc1
call fcn.00425920
test eax, eax
je 0x46cdb6
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0xfffffffffffffff6
push esi
call fcn.00425f90
add esp, 8
jmp 0x46cef5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1c]
inc eax
mov dword [ecx + 0x1c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
push 0xfffffffffffffff6
push esi
mov eax, dword [eax + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x87
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
call fcn.00425f90
add esp, 8
jmp 0x46cef5
test eax, 0x800000
jne 0x46cee0
test byte [ebp + 0x14], 0x10
jne 0x46cee0
mov edx, dword [esp + 0x10]
xor eax, eax
cmp byte [edx + 6], al
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x14]
setne al
add eax, 0x27
push eax
push esi
push edi
call fcn.0044d230
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x46cef5
cmp dword [esi + 8], 0x40
jge 0x46cef5
mov eax, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x20], esi
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov eax, edx
or eax, ecx
je 0x46ce87
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x46ce76
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
test eax, eax
je 0x46ced0
cmp byte [ecx + 0x1e], 0
jne 0x46ced0
lea esi, [edx + edx*4]
push dword [eax + esi*4 - 4]
movsx edx, byte [eax + esi*4 - 0x13]
call fcn.00425e20
mov ecx, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [ecx + esi*4 - 4], eax
mov byte [ecx + esi*4 - 0x13], 0xf2
jmp 0x46cef5
push esi
mov edx, 0xfffffff2
call fcn.00425e20
add esp, 4
jmp 0x46cef5
push dword [esi]
mov ecx, dword [esp + 0x18]
mov edx, edi
push 0
push dword [esi + 0x14]
call fcn.0043fea0
add esp, 0xc
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x46cf25
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x3c]
push esi
call fcn.00468be0
add esp, 0x10
jmp 0x46cfc4
test eax, 0xf0000
je 0x46cfc0
mov esi, dword [ecx + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x14]
call fcn.00446100
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x40], eax
mov eax, esi
cmp dword [edx + 0x20], esi
jg 0x46cf7b
mov ecx, edx
call fcn.00425920
test eax, eax
je 0x46cf74
mov esi, 1
jmp 0x46cfac
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x1c]
inc eax
lea ecx, [esi + esi*4]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov edx, esi
push 0xfffffffffffffff0
push dword [esp + 0x78]
call fcn.00425f90
add esp, 8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.00445ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x46cff4
mov esi, dword [esi + 0x20]
add ecx, 4
cmp dword [ecx], esi
je 0x46d0c9
inc eax
add ecx, 4
cmp eax, edx
jl 0x46cfe4
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
not edx
and dword [esp + 0x5c], edx
not ecx
and dword [esp + 0x34], ecx
add edi, 0x50
sub dword [esp + 0x64], 1
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], edi
jne 0x46cce0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x48]
cmp byte [eax + 0x1e], 0
jne 0x46d0e3
xor esi, esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
test ecx, ecx
jle 0x46d0c1
lea edi, [edx + 0x64]
nop dword [eax]
push dword [ebp + 0x14]
movzx eax, byte [edi + 8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [edi - 0x2c]
push esi
push eax
call fcn.0046a980
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov edx, esi
push dword [esp + 0x48]
push dword [esp + 0x38]
push dword [ebp + 0x14]
call fcn.0046ac20
mov ecx, dword [edi]
lea edi, [edi + 0x50]
mov dword [esp + 0x54], edx
inc esi
mov edx, dword [esp + 0x30]
add esp, 0x20
mov dword [esp + 0x20], eax
mov dword [edx + 0x14], ecx
cmp esi, dword [esp + 0x30]
jl 0x46d070
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x46d00e
mov ecx, dword [esp + 0x14]
jmp 0x46cbb9