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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x30]
mov ebp, dword [eax + 0x18]
mov eax, dword [eax + 0x20]
add eax, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xa8]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x104]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x160]
movups xmm0, xmmword [edx + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xac]
mov ebx, dword [edx + 0x10]
mov esi, dword [edx]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x108]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x164]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x34]
mov edi, dword [edx + 0x18]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x3c], eax
mov al, byte [edx + 0x21]
movups xmmword [esp + 0x70], xmm0
mov edx, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], al
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
nop dword [eax]
lea eax, [esi - 0x12]
cmp eax, 4
ja case.default.0x46eec8
jmp dword [eax*4 + 0x46f564]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46f43c
cmp ebp, dword [esp + 0x30]
jae 0x46f4b0
cmp edx, dword [esp + 0x34]
jge 0x46ef7d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.0046ebc0
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x46ef7d
mov eax, dword [esp + 0x34]
cmp edx, eax
jge 0x46ef7d
cmp dword [esp + 0x88], 0
je 0x46f4ac
movq xmm1, qword [esp + 0x70]
sub eax, edx
movd xmm0, eax
mov eax, dword [esp + 0x34]
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [eax*4 + 0x70d748]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x170]
movzx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x118]
mov eax, 0
cmovge ecx, eax
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x46f549
jmp 0x46efd2
movq xmm1, qword [esp + 0x70]
mov eax, edx
sub eax, dword [esp + 0x34]
movd xmm0, eax
mov eax, dword [esp + 0x34]
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [eax*4 + 0x70d748]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x170]
movzx ecx, word [eax + ecx*2]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x118]
mov eax, 0
cmovge ecx, eax
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
cmp ecx, 0xff
ja 0x46effc
mov eax, dword [esp + 0x40]
mov byte [ebx + eax], cl
inc ebx
mov eax, dword [esp + 0x18]
and ebx, dword [esp + 0x50]
mov byte [ebp], cl
inc ebp
dec eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], eax
jmp 0x46eed3
lea esi, [ecx - 0x100]
and esi, 7
lea eax, [ecx - 0x100]
sar eax, 3
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], eax
jmp 0x46f01c
mov esi, dword [esp + 0x44]
cmp esi, 7
jne 0x46f101
mov esi, dword [esp + 0x6c]
cmp edx, esi
jge 0x46f0b4
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.0046ebc0
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x46f0b4
cmp edx, esi
jge 0x46f0b4
cmp dword [esp + 0x88], eax
je 0x46f4a7
movq xmm1, qword [esp + 0x70]
mov eax, esi
sub eax, edx
movd xmm0, eax
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x70d748]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x114]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0xbc]
cmovge ecx, eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x46f549
lea edi, [ecx + 9]
jmp 0x46f104
movq xmm1, qword [esp + 0x70]
mov eax, edx
mov edi, dword [esp + 0x1c]
sub eax, esi
movd xmm0, eax
mov eax, dword [edi + 0x114]
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x70d748]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [edi + 0xbc]
cmovge ecx, eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
lea edi, [ecx + 9]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
jmp 0x46f104
lea edi, [esi + 2]
mov dword [esp + 0x28], edi
cmp edi, dword [esp + 0x18]
ja 0x46f549
mov ecx, dword [esp + 0x38]
mov eax, ecx
sub eax, 0
je 0x46f169
sub eax, 1
je 0x46f14f
sub eax, 1
je 0x46f135
mov eax, dword [esp + 0x64]
mov esi, dword [eax + ecx*8 + 4]
mov dword [esp + 0x54], esi
jmp 0x46f17b
mov ecx, dword [esp + 0x3c]
mov esi, 0x15
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
jmp 0x46eeb5
mov ecx, dword [esp + 0x2c]
mov esi, 0x15
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jmp 0x46eeb5
mov ecx, dword [esp + 0x20]
mov esi, 0x15
jmp 0x46eeb5
mov esi, dword [esp + 0x54]
cmp byte [esp + 0x13], 2
jne 0x46f2d2
cmp esi, 3
jl 0x46f2d2
add esi, 0xfffffffd
cmp edx, esi
jge 0x46f1bd
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.0046ebc0
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x46f1bd
cmp edx, esi
jl 0x46f51b
movq xmm1, qword [esp + 0x70]
mov eax, edx
mov edi, dword [esp + 0x48]
sub eax, esi
add edi, esi
movd xmm0, eax
psrlq xmm1, xmm0
movd eax, xmm1
and eax, dword [esi*4 + 0x70d748]
shl eax, 3
mov dword [esp + 0x14], eax
cmp edx, edi
jge 0x46f27d
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.0046ebc0
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x46f27d
cmp edx, edi
jge 0x46f27d
cmp dword [esp + 0x88], eax
je 0x46f52c
mov edi, dword [esp + 0x48]
sub edx, esi
movq xmm1, qword [esp + 0x70]
mov eax, edi
mov esi, dword [esp + 0x1c]
sub eax, edx
movd xmm0, eax
mov eax, dword [esi + 0xb8]
psllq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [edi*4 + 0x70d748]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0x60]
cmovge ecx, eax
mov eax, dword [esp + 0x60]
movzx eax, byte [ecx + eax]
sub edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
js 0x46f549
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
jmp 0x46f320
movq xmm1, qword [esp + 0x70]
sub edx, esi
mov esi, dword [esp + 0x48]
mov eax, edx
sub eax, esi
movd xmm0, eax
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x70d748]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0xb8]
movzx ecx, word [eax + ecx*2]
xor eax, eax
cmp ecx, dword [esi + 0x60]
cmovge ecx, eax
mov eax, dword [esp + 0x60]
movzx eax, byte [ecx + eax]
sub edx, eax
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
jmp 0x46f320
cmp edx, esi
jge 0x46f2fd
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x88]
call fcn.0046ebc0
mov edx, dword [esp + 0x80]
add esp, 8
test eax, eax
jne 0x46f2fd
cmp edx, esi
jl 0x46f536
movq xmm1, qword [esp + 0x70]
sub edx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x78], edx
movd xmm0, edx
psrlq xmm1, xmm0
movd ecx, xmm1
and ecx, dword [esi*4 + 0x70d748]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov eax, dword [edx + eax*8]
add eax, 0xfffffffe
add ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov eax, ebx
sub eax, ecx
and eax, dword [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
nop word [eax + eax]
cmp ecx, ebx
jle 0x46f371
mov esi, dword [esp + 0x68]
sub esi, ecx
cmp edi, esi
cmovle esi, edi
jmp 0x46f37e
mov eax, dword [esp + 0x68]
mov esi, edi
sub eax, ebx
cmp edi, eax
cmovg esi, eax
lea eax, [esi + ebp]
cmp eax, edx
jb 0x46f389
mov esi, edx
sub esi, ebp
mov eax, dword [esp + 0x40]
lea edi, [ecx + eax]
cmp esi, 8
jl 0x46f3c2
lea eax, [esi + ecx]
cmp eax, ebx
jl 0x46f3a3
lea eax, [esi + ebx]
cmp eax, ecx
jge 0x46f3be
mov eax, dword [esp + 0x40]
push esi
add eax, ebx
push edi
push eax
call fcn.006d8770
push esi
push edi
push ebp
call fcn.006d8770
add esp, 0x18
jmp 0x46f3e6
mov eax, dword [esp + 0x40]
lea ecx, [ebx + eax]
test esi, esi
jle 0x46f3ea
sub edi, ecx
mov edx, esi
sub ebp, ecx
nop
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
mov byte [ecx + ebp - 1], al
sub edx, 1
jne 0x46f3d0
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
add ebx, esi
mov eax, dword [esp + 0x18]
add ecx, esi
and ecx, dword [esp + 0x50]
add ebp, esi
and ebx, dword [esp + 0x50]
sub eax, esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp edi, esi
jle 0x46f42e
sub edi, esi
mov dword [esp + 0x28], edi
cmp ebp, edx
jb 0x46f360
mov esi, 0x16
jmp 0x46f4b4
mov edx, dword [esp + 0x24]
mov esi, 0x12
jmp case.default.0x46eec8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x70]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x18], edi
sub eax, ebp
mov dword [ecx + 0x10], ebx
mov dword [ecx], 2
movups xmmword [ecx + 0x50], xmm0
mov dword [ecx + 0x28], 0
mov ecx, dword [esp + 0x84]
pop edi
cdq
pop esi
pop ebp
mov dword [ecx + 0x20], eax
mov eax, 1
mov dword [ecx + 0x24], edx
pop ebx
add esp, 0x70
ret
mov esi, 0x13
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x70]
pop edi
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x14], ecx
sub eax, ebp
mov ecx, dword [esp + 0x80]
mov dword [edx], esi
mov dword [edx + 0x10], ebx
movups xmmword [edx + 0x50], xmm0
cdq
pop esi
pop ebp
mov dword [ecx + 0x20], eax
xor eax, eax
mov dword [ecx + 0x24], edx
pop ebx
add esp, 0x70
ret
cmp dword [esp + 0x88], 0
mov esi, 0x14
jne 0x46f549
jmp 0x46f4ac
mov esi, 0x14
jmp 0x46f4ac
cmp dword [esp + 0x88], 0
mov esi, 0x14
je 0x46f4ac
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax + 0x1d4], 0xffffffe7
mov eax, 0xffffffe7
pop ebx
add esp, 0x70
ret