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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [edx + 0xc]
lea ebx, [edx + 0x70]
add esi, dword [edx + 4]
push edi
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x1c]
mov dword [esp + 0x44], eax
add eax, edi
mov dword [esp + 0x54], eax
add eax, 0xfffffff8
push edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x6c], eax
call fcn.1057b800
mov dword [esp + 0xb0], eax
mov ecx, 0xfff
mov eax, dword [edx + 0xcc]
xorps xmm0, xmm0
cmp eax, ecx
movaps xmmword [esp + 0xd8], xmm0
movups xmmword [esp + 0xbc], xmm0
cmovb ecx, eax
mov dword [esp + 0x104], 0
xor eax, eax
mov dword [esp + 0xb4], ecx
cmp dword [edx + 0xc8], 3
mov ecx, 0x10a66d80
push edi
setne al
mov dword [esp + 0x100], 0
add eax, 3
mov dword [esp + 0x104], 0
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0xb0], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xd4]
test eax, eax
push 0
cmovne ecx, eax
mov eax, dword [ecx + 0x10]
movups xmm0, xmmword [ecx]
mov dword [esp + 0x100], eax
lea eax, [esp + 0xf0]
push eax
movups xmmword [esp + 0xf4], xmm0
call fcn.1057b000
push 2
push edi
mov edi, dword [ebp + 0x14]
push edi
push ebx
call fcn.1057b0e0
xor ecx, ecx
add esp, 0x24
cmp edi, esi
sete cl
add ecx, edi
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x64]
jae 0x1057a95e
mov edi, dword [esp + 0x3c]
push dword [esp + 0x58]
mov esi, ecx
mov eax, 0
sub esi, dword [esp + 0x44]
mov dword [esp + 0x28], esi
sete al
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0xb0]
push dword [esp + 0x5c]
push ecx
push eax
push dword [ebp + 8]
push edi
call dword [esp + 0xc8]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
sub eax, ecx
sub ecx, dword [ebp + 0x14]
push eax
push ecx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.1057aef0
add esp, 0x34
cmp dword [esp + 0x2c], 0
jne 0x105795b5
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
jmp 0x1057a954
mov edi, dword [esp + 0x18]
mov dword [edi + 8], 0
mov dword [edi + 0xc], esi
cmp dword [ebx + 0x38], 1
jne 0x105795ea
inc esi
mov edx, 0x1f
bsr eax, esi
mov ecx, 0x1f
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shl eax, 8
shr esi, cl
lea ecx, [esi + eax]
jmp 0x10579663
cmp esi, 0x20000
jne 0x1057960a
push 2
push ebx
push 0x1ffff
call fcn.1057ae30
add esp, 0xc
lea ecx, [eax + 0x100]
jmp 0x10579667
cmp esi, 0x3f
jbe 0x10579625
bsr eax, esi
mov ecx, 0x1f
mov edi, 0x1f
sub ecx, eax
sub edi, ecx
add edi, 0x13
jmp 0x1057962c
movzx edi, byte [esi + 0x10a66d98]
mov eax, dword [ebx + 4]
mov edx, 0x1f
mov ecx, 0x1f
mov esi, dword [eax + edi*4]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
movzx ecx, byte [edi + 0x10a66c28]
mov edi, dword [esp + 0x18]
shl eax, 8
shl ecx, 8
add eax, esi
add ecx, dword [ebx + 0x2c]
sub ecx, eax
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov dword [edi], ecx
movq xmm0, qword [eax]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + eax*8 - 4]
mov edx, dword [edx + eax*8 - 8]
cmp ecx, dword [esp + 0xac]
jbe 0x105796c4
movaps xmm2, xmmword [esp + 0xd0]
xor eax, eax
mov dword [esp + 0xc0], eax
xor esi, esi
mov dword [esp + 0xbc], ecx
mov edi, ecx
mov dword [esp + 0xb8], edx
movups xmm1, xmmword [esp + 0xb4]
jmp 0x1057a59e
mov ecx, dword [esp + 0x18]
mov edi, 1
add ecx, 0x28
lea eax, [edi + esi]
mov dword [ecx - 0xc], 0x40000000
inc edi
mov dword [ecx - 4], 0
lea ecx, [ecx + 0x1c]
mov dword [ecx - 0x1c], eax
cmp edi, dword [esp + 0x58]
jb 0x105796d0
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x2c], eax
jbe 0x105798d4
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x48], edi
nop word [eax + eax]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
cmp edi, eax
ja 0x105798c1
mov esi, dword [esp + 0x18]
lea eax, [edi*8]
sub eax, edi
lea edx, [edi - 2]
mov dword [esp + 0x20], edx
lea esi, [esi + eax*4]
add esi, 4
mov dword [esp + 0x30], esi
nop word [eax + eax]
bsr eax, ecx
mov ecx, 0x1f
mov edi, 0x1f
sub ecx, eax
sub edi, ecx
cmp dword [ebx + 0x38], 1
mov ecx, 0x1f
jne 0x10579790
bsr eax, edx
mov edx, 0x1f
add edi, 0x10
sub ecx, eax
mov eax, dword [esp + 0x20]
sub edx, ecx
shl eax, 8
mov ecx, edx
add edi, edx
shr eax, cl
shl edi, 8
jmp 0x10579823
mov eax, dword [ebx + 0xc]
mov edx, 0x1f
mov esi, dword [eax + edi*4]
inc esi
shl edi, 8
add edi, dword [ebx + 0x34]
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
sub edi, eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 0x7f
jbe 0x105797d9
bsr eax, ecx
mov ecx, 0x1f
sub ecx, eax
mov eax, 0x1f
sub eax, ecx
lea ecx, [eax + 0x24]
jmp 0x105797e0
movzx ecx, byte [eax + 0x10a66dd7]
mov eax, dword [ebx + 8]
mov edx, 0x1f
mov dword [esp + 0x24], ecx
mov esi, dword [eax + ecx*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
lea ecx, [esi + eax]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
movzx eax, byte [eax + 0x10a66c98]
shl eax, 8
add eax, dword [ebx + 0x30]
sub eax, ecx
add edi, 0x33
add edi, eax
mov edx, 0x1f
mov eax, dword [esp + 0x18]
mov ecx, edx
mov eax, dword [eax]
add eax, edi
mov dword [esi + 8], 0
mov edi, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 4], edi
mov dword [esi], eax
cmp dword [ebx + 0x38], 1
jne 0x1057986f
mov eax, 1
bsr eax, eax
sub edx, eax
mov eax, 0x100
sub ecx, edx
mov edx, ecx
shl edx, 8
shr eax, cl
lea ecx, [eax + edx]
jmp 0x10579891
mov eax, dword [ebx + 4]
mov esi, dword [eax]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx + 0x2c]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x28]
inc edi
mov edx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x44]
inc edx
mov dword [esi - 4], eax
add esi, 0x1c
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], esi
cmp edi, dword [esp + 0x38]
jbe 0x10579750
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x2c]
jb 0x10579710
mov esi, dword [esp + 0x18]
lea eax, [edi - 1]
mov dword [esp + 0x30], eax
mov ecx, 1
lea eax, [edi*8]
mov dword [esp + 0x1c], ecx
sub eax, edi
mov edi, dword [esp + 0x30]
mov dword [esi + eax*4], 0x40000000
cmp edi, ecx
jb 0x1057a555
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esp + 0x34]
lea eax, [ecx*8]
sub eax, ecx
add edx, ecx
mov dword [esp + 0x44], edx
mov esi, dword [esi + eax*4 - 0x10]
inc esi
cmp dword [ebx + 0x40], 2
mov dword [esp + 0x2c], esi
jne 0x1057993c
mov dword [esp + 0x20], 0x800
jmp 0x105799a3
cmp dword [ebx + 0x38], 1
jne 0x1057994c
mov dword [esp + 0x20], 0x600
jmp 0x105799a3
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
add eax, 0xffffff00
mov dword [esp + 0x28], eax
xor edi, edi
movzx eax, byte [edi + edx - 1]
mov edx, 0x1f
mov esi, dword [ecx + eax*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, dword [esp + 0x44]
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx]
shl eax, 8
add eax, esi
cmp eax, dword [esp + 0x28]
cmova eax, dword [esp + 0x28]
inc edi
sub dword [esp + 0x20], eax
cmp edi, 1
jb 0x10579960
mov esi, dword [esp + 0x2c]
cmp dword [ebx + 0x38], 1
jne 0x105799c9
inc esi
mov edx, 0x1f
bsr eax, esi
mov ecx, 0x1f
shl esi, 8
sub edx, eax
sub ecx, edx
mov edi, ecx
shr esi, cl
shl edi, 8
add edi, esi
jmp 0x10579a3e
cmp esi, 0x20000
jne 0x105799e9
push 2
push ebx
push 0x1ffff
call fcn.1057ae30
add esp, 0xc
lea edi, [eax + 0x100]
jmp 0x10579a42
cmp esi, 0x3f
jbe 0x10579a04
bsr eax, esi
mov ecx, 0x1f
mov edi, 0x1f
sub ecx, eax
sub edi, ecx
add edi, 0x13
jmp 0x10579a0b
movzx edi, byte [esi + 0x10a66d98]
mov eax, dword [ebx + 4]
mov edx, 0x1f
mov ecx, 0x1f
mov esi, dword [eax + edi*4]
movzx edi, byte [edi + 0x10a66c28]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
shl edi, 8
add edi, dword [ebx + 0x2c]
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
sub edi, eax
mov esi, dword [esp + 0x2c]
cmp dword [ebx + 0x38], 1
lea eax, [esi - 1]
jne 0x10579a6d
bsr eax, esi
mov edx, 0x1f
mov ecx, 0x1f
sub edx, eax
mov eax, esi
sub ecx, edx
shl eax, 8
mov edx, ecx
shl edx, 8
shr eax, cl
lea ecx, [eax + edx]
jmp 0x10579ae9
cmp eax, 0x20000
jne 0x10579a8c
push 2
push ebx
push 0x1ffff
call fcn.1057ae30
add esp, 0xc
lea ecx, [eax + 0x100]
jmp 0x10579ae9
cmp eax, 0x3f
jbe 0x10579aa7
bsr eax, eax
mov ecx, 0x1f
sub ecx, eax
mov eax, 0x1f
sub eax, ecx
lea ecx, [eax + 0x13]
jmp 0x10579aae
movzx ecx, byte [eax + 0x10a66d98]
mov eax, dword [ebx + 4]
mov edx, 0x1f
mov dword [esp + 0x24], ecx
mov esi, dword [eax + ecx*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [esp + 0x24]
shl eax, 8
add eax, esi
movzx ecx, byte [ecx + 0x10a66c28]
shl ecx, 8
add ecx, dword [ebx + 0x2c]
sub ecx, eax
mov edx, dword [esp + 0x1c]
sub edi, ecx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
add edi, dword [esp + 0x20]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esp + 0x18]
add edi, dword [edx + eax*4 - 0x1c]
lea edx, [edx + eax*4]
lea eax, [ecx*8]
mov dword [esp + 0x48], edi
sub eax, ecx
cmp edi, dword [esi + eax*4]
mov esi, dword [esp + 0x2c]
jg 0x1057a08c
mov edi, dword [esp + 0x18]
lea eax, [ecx*8]
movups xmm0, xmmword [edx - 0x1c]
sub eax, ecx
movups xmm1, xmmword [edi + eax*4]
movq xmm2, qword [edi + eax*4 + 0x10]
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, edi
lea ecx, [ecx + eax*4]
mov eax, dword [edx - 4]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx - 0xc]
mov edx, dword [esp + 0x1c]
movq qword [ecx + 0x10], xmm0
movaps xmm0, xmm1
mov dword [ecx + 0x18], eax
mov ecx, edi
mov edi, dword [esp + 0x48]
lea eax, [edx*8]
psrldq xmm0, 0xc
sub eax, edx
mov dword [ecx + eax*4 + 0xc], esi
lea eax, [edx*8]
sub eax, edx
mov esi, ecx
mov dword [esi + eax*4], edi
movd eax, xmm0
test eax, eax
jne 0x1057a094
mov esi, dword [ebx + 0x38]
lea edx, [eax + 0x1f]
mov ecx, edx
cmp esi, 1
jne 0x10579bf1
mov eax, 2
mov edi, 0x200
bsr eax, eax
sub edx, eax
mov eax, esi
sub ecx, edx
bsr eax, eax
mov edx, ecx
shr edi, cl
shl edx, 8
mov ecx, 0x1f
add edi, edx
mov edx, 0x1f
sub edx, eax
mov eax, 0x100
sub ecx, edx
mov edx, ecx
shl edx, 8
shr eax, cl
lea ecx, [eax + edx]
jmp 0x10579c3b
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 0x2c]
mov esi, dword [eax + 4]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, 0x1f
shr esi, cl
mov eax, ecx
shl eax, 8
mov ecx, 0x1f
add eax, esi
sub edi, eax
mov eax, dword [ebx + 4]
mov esi, dword [eax]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx + 0x2c]
shl eax, 8
add eax, esi
mov esi, dword [ebx + 0x38]
sub ecx, eax
sub edi, ecx
mov edx, dword [esp + 0x1c]
jns 0x1057a124
mov ecx, dword [esp + 0x34]
lea eax, [edx + ecx]
cmp eax, dword [esp + 0x50]
jae 0x1057a124
add edx, ecx
cmp dword [ebx + 0x40], 2
mov dword [esp + 0x38], edx
jne 0x10579c6b
mov edi, 0x800
jmp 0x10579cd4
cmp esi, 1
jne 0x10579c77
mov edi, 0x600
jmp 0x10579cd4
mov edi, dword [ebx + 0x28]
mov ecx, dword [ebx]
lea eax, [edi - 0x100]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
nop dword [eax]
movzx eax, byte [eax + edx]
mov edx, 0x1f
mov esi, dword [ecx + eax*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, dword [esp + 0x38]
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx]
shl eax, 8
add eax, esi
cmp eax, dword [esp + 0x28]
cmova eax, dword [esp + 0x28]
sub edi, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 1
jb 0x10579c90
mov esi, dword [ebx + 0x38]
mov edx, 0x1f
mov ecx, edx
cmp esi, 1
jne 0x10579d25
mov eax, 2
bsr eax, eax
sub edx, eax
mov eax, 0x200
sub ecx, edx
shr eax, cl
mov edx, ecx
shl edx, 8
mov ecx, 0x1f
add eax, edx
mov edx, 0x1f
mov dword [esp + 0x24], eax
mov eax, esi
bsr eax, eax
sub edx, eax
mov eax, 0x100
sub ecx, edx
mov edx, ecx
shl edx, 8
shr eax, cl
lea ecx, [eax + edx]
jmp 0x10579d73
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, 0x1f
shr esi, cl
mov eax, ecx
mov ecx, dword [ebx + 0x2c]
shl eax, 8
add eax, esi
sub ecx, eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], ecx
mov ecx, 0x1f
mov esi, dword [eax]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx + 0x2c]
shl eax, 8
add eax, esi
mov esi, dword [ebx + 0x38]
sub ecx, eax
mov edx, dword [esp + 0x1c]
sub edi, ecx
add edx, dword [esp + 0x34]
movd eax, xmm1
mov dword [esp + 0x38], edx
add edi, eax
add edi, dword [esp + 0x24]
cmp dword [ebx + 0x40], 2
mov dword [esp + 0x54], edi
jne 0x10579d9f
mov dword [esp + 0x20], 0x800
jmp 0x10579e00
cmp esi, 1
jne 0x10579dae
mov dword [esp + 0x20], 0x600
jmp 0x10579e00
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
add eax, 0xffffff00
mov dword [esp + 0x28], eax
xor edi, edi
movzx eax, byte [edi + edx]
mov edx, 0x1f
mov esi, dword [ecx + eax*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, dword [esp + 0x38]
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx]
shl eax, 8
add eax, esi
cmp eax, dword [esp + 0x28]
cmova eax, dword [esp + 0x28]
inc edi
sub dword [esp + 0x20], eax
cmp edi, 1
jb 0x10579dc2
cmp dword [ebx + 0x38], 1
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
jne 0x10579e2f
lea esi, [eax + 1]
mov edx, 0x1f
bsr eax, esi
mov ecx, 0x1f
shl esi, 8
sub edx, eax
sub ecx, edx
mov edi, ecx
shr esi, cl
shl edi, 8
add edi, esi
jmp 0x10579ea3
cmp eax, 0x20000
jne 0x10579e4e
push 2
push ebx
push 0x1ffff
call fcn.1057ae30
add esp, 0xc
lea edi, [eax + 0x100]
jmp 0x10579ea7
cmp eax, 0x3f
jbe 0x10579e69
bsr eax, eax
mov ecx, 0x1f
mov edi, 0x1f
sub ecx, eax
sub edi, ecx
add edi, 0x13
jmp 0x10579e70
movzx edi, byte [eax + 0x10a66d98]
mov eax, dword [ebx + 4]
mov edx, 0x1f
mov ecx, 0x1f
mov esi, dword [eax + edi*4]
movzx edi, byte [edi + 0x10a66c28]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
shl edi, 8
add edi, dword [ebx + 0x2c]
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
sub edi, eax
mov esi, dword [esp + 0x2c]
cmp dword [ebx + 0x38], 1
jne 0x10579ece
inc esi
mov edx, 0x1f
bsr eax, esi
mov ecx, 0x1f
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shl eax, 8
shr esi, cl
lea ecx, [esi + eax]
jmp 0x10579f4b
cmp esi, 0x20000
jne 0x10579eee
push 2
push ebx
push 0x1ffff
call fcn.1057ae30
add esp, 0xc
lea ecx, [eax + 0x100]
jmp 0x10579f4b
cmp esi, 0x3f
jbe 0x10579f09
bsr eax, esi
mov ecx, 0x1f
sub ecx, eax
mov eax, 0x1f
sub eax, ecx
lea ecx, [eax + 0x13]
jmp 0x10579f10
movzx ecx, byte [esi + 0x10a66d98]
mov eax, dword [ebx + 4]
mov edx, 0x1f
mov dword [esp + 0x24], ecx
mov esi, dword [eax + ecx*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [esp + 0x24]
shl eax, 8
add eax, esi
movzx ecx, byte [ecx + 0x10a66c28]
shl ecx, 8
add ecx, dword [ebx + 0x2c]
sub ecx, eax
mov edx, dword [esp + 0x54]
sub edi, ecx
add edi, dword [esp + 0x48]
add edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edx, edi
jge 0x1057a090
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 1]
lea eax, [ecx*8]
sub eax, ecx
cmp edx, dword [esi + eax*4]
jge 0x1057a090
movaps xmm0, xmm1
mov ecx, edi
psrldq xmm0, 8
movd eax, xmm0
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
xor ecx, ecx
cmp dword [esi + eax*4 + 0xc], ecx
movq xmm0, qword [esi + eax*4 + 0x10]
mov esi, dword [esi + eax*4 + 0x18]
sete cl
movq qword [esp + 0x70], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
mov dword [esp + 0x28], ecx
movd ecx, xmm0
mov dword [esp + 0x78], esi
cmp ecx, 3
jbe 0x10579fde
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x74], eax
lea eax, [ecx - 3]
mov dword [esp + 0x70], eax
jmp 0x1057a00e
mov eax, dword [esp + 0x28]
dec eax
add eax, ecx
je 0x1057a00e
mov edi, dword [esp + 0x70]
cmp eax, 3
jne 0x10579ff5
lea ecx, [edi - 1]
jmp 0x10579ffe
mov ecx, dword [esp + eax*4 + 0x70]
cmp eax, 2
jb 0x1057a002
mov esi, dword [esp + 0x74]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x18]
lea ecx, [edi + 1]
movq xmm0, qword [esp + 0x70]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
movups xmmword [ecx + eax*4], xmm1
movq qword [ecx + eax*4 + 0x10], xmm2
mov ecx, dword [esp + 0x5c]
mov dword [edx + eax*4 + 0x18], ecx
mov ecx, edx
mov edx, dword [esp + 0x54]
lea eax, [edi*8]
sub eax, edi
movq qword [ecx + eax*4 + 0x2c], xmm0
mov dword [ecx + eax*4 + 0x34], esi
lea eax, [edi*8]
sub eax, edi
mov esi, ecx
lea ecx, [edi + 1]
mov edi, dword [esp + 0x30]
mov dword [esi + eax*4 + 0x28], 1
lea eax, [ecx*8]
sub eax, ecx
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x1c]
lea eax, [edx + 1]
cmp edi, eax
jae 0x1057a098
mov edi, eax
mov dword [esp + 0x30], edi
jmp 0x1057a098
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
lea eax, [edx*8]
sub eax, edx
mov ecx, dword [esi + eax*4 + 0xc]
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x1057a190
lea eax, [edx*8]
mov ecx, edx
sub eax, edx
sub ecx, dword [esi + eax*4 + 8]
lea eax, [ecx*8]
sub eax, ecx
movq xmm0, qword [esi + eax*4 + 0x10]
lea ecx, [esi + eax*4]
xor eax, eax
movq qword [esp + 0x80], xmm0
cmp dword [ecx + 0xc], eax
mov ecx, dword [ecx + 0x18]
sete al
mov dword [esp + 0x88], ecx
mov dword [esp + 0x28], eax
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esi + eax*4 + 4]
cmp edx, 3
jbe 0x1057a12d
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x84], eax
lea eax, [edx - 3]
mov dword [esp + 0x80], eax
jmp 0x1057a16c
mov esi, dword [esp + 0x18]
jmp 0x1057a094
mov eax, dword [esp + 0x28]
dec eax
add eax, edx
je 0x1057a16c
mov esi, dword [esp + 0x80]
cmp eax, 3
jne 0x1057a147
lea edx, [esi - 1]
jmp 0x1057a153
mov edx, dword [esp + eax*4 + 0x80]
cmp eax, 2
jb 0x1057a15a
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x1c]
movq xmm0, qword [esp + 0x80]
lea eax, [edx*8]
sub eax, edx
movq qword [esi + eax*4 + 0x10], xmm0
mov dword [esi + eax*4 + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x64]
ja 0x1057a502
cmp edx, edi
je 0x1057a551
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x18]
sete al
mov dword [esp + 0x38], eax
lea eax, [edx*8]
sub eax, edx
cmp dword [ebx + 0x38], 1
mov edx, 0x1f
mov eax, dword [ecx + eax*4]
mov ecx, edx
mov dword [esp + 0x28], eax
jne 0x1057a1ef
mov eax, 1
bsr eax, eax
sub edx, eax
mov eax, 0x100
sub ecx, edx
mov edx, ecx
shl edx, 8
shr eax, cl
lea ecx, [eax + edx]
jmp 0x1057a211
mov eax, dword [ebx + 4]
mov esi, dword [eax]
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
mov ecx, dword [ebx + 0x2c]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x28]
push dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esp + 0x20]
push dword [esp + 0x3c]
mov dword [esp + 0x54], eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x10
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0xb4]
push esi
push eax
push dword [ebp + 8]
push dword [esp + 0x58]
call dword [esp + 0xc8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
sub eax, esi
sub esi, dword [ebp + 0x14]
push eax
push esi
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x110]
push eax
call fcn.1057aef0
mov esi, dword [esp + 0x54]
add esp, 0x34
test esi, esi
je 0x1057a502
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + esi*8 - 4]
cmp ecx, dword [esp + 0xac]
ja 0x1057a519
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
cmp eax, 0x1000
jae 0x1057a519
add eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x50]
jae 0x1057a519
mov dword [esp + 0x24], 0
test esi, esi
je 0x1057a4e9
mov ecx, dword [esp + 0x3c]
mov ebx, esi
add ecx, 0xfffffffc
mov dword [esp + 0x28], ecx
nop dword [eax]
cmp dword [esp + 0x24], 0
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], esi
jbe 0x1057a2fa
mov eax, dword [ecx]
inc eax
jmp 0x1057a2fe
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
cmp esi, eax
jb 0x1057a4ca
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x10a66dd5]
mov dword [esp + 0x48], eax
lea ebx, [esi + edx]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
mov eax, 0xfffffffe
sub eax, edx
mov dword [esp + 0x68], eax
mov eax, 0xfffffffd
sub eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
mov ecx, 0x1f
bsr eax, eax
mov edi, 0x1f
sub ecx, eax
mov eax, dword [ebp + 8]
sub edi, ecx
mov ecx, 0x1f
cmp dword [eax + 0xa8], 1
jne 0x1057a38f
mov edx, dword [esp + 0x68]
add edi, 0x10
add edx, ebx
bsr eax, edx
shl edx, 8
sub ecx, eax
mov eax, 0x1f
sub eax, ecx
add edi, eax
mov ecx, eax
shr edx, cl
shl edi, 8
add edi, edx
jmp 0x1057a42f
mov eax, dword [eax + 0x7c]
mov edx, 0x1f
mov esi, dword [eax + edi*4]
inc esi
shl edi, 8
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, dword [ebp + 8]
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
add edi, dword [edx + 0xa4]
sub edi, eax
mov eax, dword [esp + 0x6c]
add eax, ebx
cmp eax, 0x7f
jbe 0x1057a3dd
bsr eax, eax
mov ecx, 0x1f
sub ecx, eax
mov eax, 0x1f
sub eax, ecx
lea ecx, [eax + 0x24]
jmp 0x1057a3e4
mov eax, dword [esp + 0x48]
movzx ecx, byte [eax]
mov eax, dword [edx + 0x78]
add edi, 0x33
mov dword [esp + 0x54], ecx
mov edx, 0x1f
mov esi, dword [eax + ecx*4]
mov ecx, 0x1f
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, dword [ebp + 8]
mov eax, ecx
shr esi, cl
shl eax, 8
lea ecx, [esi + eax]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
movzx eax, byte [eax + 0x10a66c98]
shl eax, 8
add eax, dword [edx + 0xa0]
sub eax, ecx
add edi, eax
mov edx, dword [esp + 0x4c]
add edx, edi
mov edi, dword [esp + 0x30]
cmp ebx, edi
ja 0x1057a447
mov ecx, dword [esp + 0x2c]
cmp edx, dword [ecx]
jge 0x1057a4a3
jmp 0x1057a477
mov ecx, dword [esp + 0x18]
lea eax, [edi*8]
sub eax, edi
lea eax, [ecx + eax*4]
mov ecx, ebx
sub ecx, edi
mov edi, ebx
mov dword [esp + 0x30], edi
mov dword [eax + 0x1c], 0x40000000
lea eax, [eax + 0x1c]
mov dword [eax + 0xc], 1
sub ecx, 1
jne 0x1057a461
mov ecx, dword [esp + 0x18]
lea eax, [ebx*8]
sub eax, ebx
mov dword [ecx + eax*4 + 8], esi
mov esi, dword [esp + 0x5c]
mov dword [ecx + eax*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x2c]
dec dword [esp + 0x48]
dec esi
sub ecx, 0x1c
mov dword [esp + 0x44], esi
dec ebx
mov dword [esp + 0x2c], ecx
cmp esi, dword [esp + 0x38]
jae 0x1057a341
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 8
inc eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp eax, ebx
jb 0x1057a2e0
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
lea eax, [ecx*8]
sub eax, ecx
mov dword [esi + eax*4], 0x40000000
jmp 0x1057a506
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, edi
jbe 0x10579910
jmp 0x1057a555
mov edx, dword [esp + 0x3c]
xor eax, eax
movaps xmm2, xmmword [esp + 0xd0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov edx, dword [edx + esi*8 - 8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xb8], edx
movups xmm1, xmmword [esp + 0xb4]
lea edi, [ecx + esi]
jmp 0x1057a5a2
mov esi, dword [esp + 0x18]
lea eax, [edi*8]
sub eax, edi
movups xmm1, xmmword [esi + eax*4]
movq xmm2, qword [esi + eax*4 + 0x10]
mov eax, dword [esi + eax*4 + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 8
mov esi, edi
movd ecx, xmm0
movups xmmword [esp + 0xb4], xmm1
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x60], eax
sub esi, ecx
mov eax, dword [esp + 0xc0]
movaps xmmword [esp + 0xd0], xmm2
mov dword [esp + 0x1c], esi
test ecx, ecx
jne 0x1057a5b5
mov ecx, dword [esp + 0x34]
add ecx, edi
mov dword [esp + 0x34], ecx
jmp 0x1057a950
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x1057a66f
lea eax, [esi*8]
xor ecx, ecx
sub eax, esi
cmp dword [edi + eax*4 + 0xc], ecx
movq xmm0, qword [edi + eax*4 + 0x10]
sete cl
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x98], ecx
cmp edx, 3
jbe 0x1057a617
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x94], eax
lea eax, [edx - 3]
mov dword [esp + 0x90], eax
jmp 0x1057a656
mov eax, dword [esp + 0x4c]
dec eax
add eax, edx
je 0x1057a656
mov esi, dword [esp + 0x90]
cmp eax, 3
jne 0x1057a631
lea edx, [esi - 1]
jmp 0x1057a63d
mov edx, dword [esp + eax*4 + 0x90]
cmp eax, 2
jb 0x1057a644
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0x10]
movq xmm0, qword [esp + 0x90]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x60]
jmp 0x1057a683
mov ecx, dword [ebp + 0x10]
sub esi, eax
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], esi
movq qword [ecx], xmm2
mov dword [ecx + 8], edx
add esi, 2
mov dword [esp + 0x20], esi
lea eax, [esi*8]
sub eax, esi
cmp dword [esp + 0xc0], 0
jbe 0x1057a6ac
movups xmmword [edi + eax*4 - 0x1c], xmm1
movq qword [edi + eax*4 - 0xc], xmm2
mov dword [edi + eax*4 - 4], edx
lea ecx, [edi + eax*4]
mov edi, dword [esp + 0x1c]
movups xmmword [ecx], xmm1
movq qword [ecx + 0x10], xmm2
lea eax, [edi*8]
mov dword [ecx + 0x18], edx
sub eax, edi
mov edx, esi
mov edi, dword [esp + 0x18]
movups xmm1, xmmword [edi + eax*4]
movq xmm2, qword [edi + eax*4 + 0x10]
mov eax, dword [edi + eax*4 + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 0xc
mov dword [esp + 0x4c], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd edi, xmm0
mov dword [ecx + 0xc], eax
test edi, edi
je 0x1057a767
mov esi, dword [esp + 0x4c]
lea ecx, [ecx - 0x1c]
add eax, edi
movups xmmword [ecx], xmm1
dec edx
movq qword [ecx + 0x10], xmm2
mov dword [ecx + 0x18], esi
mov esi, dword [esp + 0x1c]
sub esi, eax
mov dword [esp + 0x1c], esi
lea eax, [esi*8]
sub eax, esi
mov esi, dword [esp + 0x18]
movups xmm1, xmmword [esi + eax*4]
movq xmm2, qword [esi + eax*4 + 0x10]
mov esi, dword [esi + eax*4 + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
movd edi, xmm0
mov dword [ecx + 0xc], eax
test edi, edi
jne 0x1057a702
mov esi, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
cmp edx, esi
ja 0x1057a8c6
mov ecx, dword [esp + 0x18]
lea eax, [edx*8]
sub eax, edx
add ecx, 8
sub esi, edx
inc esi
mov dword [esp + 0x20], esi
lea eax, [ecx + eax*4]
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax - 4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x4c], edx
lea esi, [ecx + edi]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x40]
add esi, edi
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x1057a8b2
push ecx
push edx
push dword [esp + 0x48]
push edi
push ebx
call fcn.1057b980
mov esi, dword [ebp + 0xc]
add esp, 0x14
mov eax, dword [esp + 0x50]
add esi, 0xc
mov edx, dword [esp + 0x34]
add eax, 0xffffffe0
mov ecx, dword [esi]
cmp edx, eax
ja 0x1057a830
mov eax, dword [esp + 0x40]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
cmp edi, 0x10
jbe 0x1057a83f
mov ecx, dword [esi]
lea edx, [edi - 0x10]
movups xmm0, xmmword [eax + 0x10]
add ecx, 0x10
lea eax, [edi - 0x10]
add edx, ecx
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x1057a83f
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x40]
add ecx, 0x20
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, edx
jb 0x1057a810
mov esi, dword [ebp + 0xc]
add esi, 0xc
jmp 0x1057a83f
push eax
push edx
push dword [esp + 0x48]
push ecx
call fcn.1054a9a0
add esp, 0x10
add dword [esi], edi
mov edx, dword [ebp + 0xc]
cmp edi, 0xffff
jbe 0x1057a85e
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
mov dword [edx + 0x24], 1
mov dword [edx + 0x28], eax
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x4c]
mov word [eax + 4], di
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffffd
cmp ecx, 0xffff
jbe 0x1057a88f
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
mov dword [edx + 0x24], 2
mov dword [edx + 0x28], eax
mov eax, dword [edx + 4]
mov esi, dword [esp + 0x20]
mov word [eax + 6], cx
mov eax, dword [esp + 0x40]
add dword [edx + 4], 8
add eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
add eax, 0x1c
sub esi, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
jne 0x1057a785
cmp dword [ebx + 0x40], 2
je 0x1057a8f0
mov esi, dword [ebx + 0x18]
mov edx, 0x1f
inc esi
mov ecx, 0x1f
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
mov dword [ebx + 0x28], eax
mov esi, dword [ebx + 0x1c]
mov edx, 0x1f
inc esi
mov ecx, 0x1f
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov edx, 0x1f
shr esi, cl
mov eax, ecx
shl eax, 8
mov ecx, 0x1f
add eax, esi
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x2c], eax
inc esi
bsr eax, esi
shl esi, 8
sub edx, eax
sub ecx, edx
mov eax, ecx
shr esi, cl
shl eax, 8
add eax, esi
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x24]
inc eax
bsr ecx, eax
shl eax, 8
shr eax, cl
shl ecx, 8
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x34], eax
mov edi, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x64]
jb 0x10579545
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret