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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov dword [esp + 4], edx
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, dword [edx + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x80]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x3c], edi
lea ecx, [ebx + eax]
mov dword [esp + 0xc], ecx
add ecx, 0xfffffff8
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x14], ecx
mov ecx, ebx
sub ecx, dword [esp + 0x14]
add ecx, eax
mov eax, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0x78]
shl eax, cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
sub eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
mov eax, dword [edx + 0x10]
jbe 0x596ca8
sub dword [esp + 0x20], ecx
jmp 0x596cac
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0x14]
test ecx, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x20]
cmp ecx, eax
mov edx, dword [edx + 8]
cmova eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
lea esi, [edx + ecx]
add edx, eax
mov dword [esp + 0x64], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x28], edx
cmp eax, ecx
jne 0x597651
mov ecx, dword [esp + 0x6c]
mov edi, 1
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x70], eax
mov eax, ebx
sub eax, dword [esp + 0x14]
add eax, dword [ebp + 0x10]
shl edi, cl
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
sub eax, ecx
mov dword [esp + 0x68], edi
cmp eax, edi
jbe 0x596d50
mov eax, dword [esp + 0x40]
sub eax, edi
jmp 0x596d52
mov eax, ecx
cmp dword [esp + 0x60], 0
mov edi, ebx
mov dword [esp + 0x5c], 0
cmovne eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
add ecx, 0xfffffff8
add eax, dword [esp + 0x14]
sub edi, eax
mov dword [esp + 0x48], ecx
neg edi
mov dword [esp + 0x3c], eax
sbb edi, edi
inc edi
add edi, ebx
mov ecx, edi
sub ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x68]
jbe 0x596da6
mov eax, ecx
sub eax, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
jmp 0x596dae
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x60], 0
mov ebx, dword [esp + 0x4c]
cmovne ebx, eax
sub ecx, ebx
mov dword [esp + 0x4c], ebx
mov ebx, dword [ebp + 0xc]
cmp edx, ecx
jbe 0x596dd5
mov dword [esp + 0x5c], edx
mov dword [esp + 0x28], 0
jmp 0x596dd7
xor edx, edx
mov eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x596ded
mov edx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x5c], edx
cmp edi, dword [esp + 0x48]
jae 0x597628
mov ecx, 0x40
mov eax, 0x40
sub ecx, dword [esp + 0x70]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffb
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
jmp 0x596e30
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x44]
call fcn.005e2c20
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
cmp eax, 3
ja case.default.0x596e5e
jmp dword [eax*4 + 0x598038]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov esi, eax
jmp 0x596ef5
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov esi, eax
jmp 0x596ef5
push 0xcf1bbcdc
push 0xbfa56300
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov esi, eax
jmp 0x596ef5
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov esi, eax
jmp 0x596ef5
imul esi, dword [edi], 0x9e3779b1
mov ecx, dword [esp + 0x58]
shr esi, cl
mov edx, dword [esp + 0x14]
mov eax, edi
mov ecx, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov eax, dword [ecx + eax*4]
add edx, eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov ecx, dword [ecx + esi*4]
add eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + esi*4], ecx
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
mov dword [esi + eax*4], ecx
lea eax, [edi + 1]
mov dword [esp + 0x38], eax
mov ecx, edi
sub ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov eax, dword [ecx + 1]
xor ecx, ecx
cmp eax, dword [esi]
mov esi, dword [esp + 0x10]
sete cl
xor eax, eax
cmp eax, dword [esp + 0x18]
sbb eax, eax
neg eax
test eax, ecx
je 0x597057
mov edx, dword [esp + 0x70]
lea ecx, [edi + 5]
push dword [esp + 0xc]
add edx, 5
call fcn.00577530
mov edi, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x24], eax
mov edx, edi
add eax, 0xfffffffd
sub edx, ebx
mov dword [esp + 0x70], eax
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x70], edx
lea ecx, [edx + ebx]
cmp ecx, eax
ja 0x59700e
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x597021
mov ecx, dword [esi + 0xc]
lea eax, [edx - 0x10]
movdqu xmm0, xmmword [ebx + 0x10]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x597021
mov eax, dword [esp + 0x70]
add ecx, 0x10
add ebx, 0x20
movdqu xmm0, xmmword [ebx]
lea ebx, [ebx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [ebx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x596ff0
jmp 0x597021
push eax
push ecx
mov ecx, dword [esi + 0xc]
mov edx, ebx
call fcn.005774b0
mov edx, dword [esp + 0x78]
add esp, 8
add dword [esi + 0xc], edx
cmp edx, 0xffff
jbe 0x59703e
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x6c]
mov word [eax + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x597328
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x6c], eax
jbe 0x5970ef
mov eax, dword [edx]
mov ecx, dword [edi + 4]
cmp eax, dword [edi]
jne 0x5970ef
cmp dword [edx + 4], ecx
jne 0x5970ef
push dword [esp + 0xc]
add edx, 8
lea ecx, [edi + 8]
call fcn.00577530
add esp, 4
mov ecx, edi
lea edx, [eax + 8]
mov eax, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
sbb ecx, ecx
neg ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
je 0x59724b
mov ecx, dword [esp + 0x50]
lea eax, [edi - 1]
mov dword [esp + 0x70], eax
mov al, byte [eax]
cmp al, byte [ecx - 1]
jne 0x59724b
mov edi, dword [esp + 0x70]
mov eax, ecx
dec eax
inc edx
cmp ebx, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], edx
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x3c], eax
sbb eax, eax
neg eax
test eax, ecx
jne 0x5970b2
jmp 0x59724b
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x64], edx
jbe 0x59760e
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x59760e
mov eax, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xb7a56463
push dword [eax + 4]
push dword [eax]
call fcn.005e0820
mov ecx, dword [esp + 0x44]
call fcn.005e2c20
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ecx], eax
cmp edx, dword [esp + 0x40]
jbe 0x5971e7
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5971e7
mov eax, dword [edx + 4]
cmp dword [ecx + 4], eax
jne 0x5971e7
push dword [esp + 0xc]
lea edx, [ecx + 8]
lea ecx, [edi + 9]
call fcn.00577530
mov edi, dword [esp + 0x3c]
add esp, 4
mov ecx, edi
lea edx, [eax + 8]
mov eax, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
sbb ecx, ecx
neg ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
je 0x59724b
lea ebx, [ebx]
mov ecx, dword [esp + 0x50]
lea eax, [edi - 1]
dec ecx
mov dword [esp + 0x70], eax
mov al, byte [eax]
mov dword [esp + 0x50], ecx
cmp al, byte [ecx]
jne 0x59724b
mov edi, dword [esp + 0x70]
inc edx
cmp dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
sbb ecx, ecx
neg ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
jne 0x5971b0
jmp 0x59724b
mov edx, dword [esp + 0x4c]
lea ecx, [edi + 4]
push dword [esp + 0xc]
lea edx, [edx + 4]
call fcn.00577530
add esp, 4
mov ecx, edi
lea edx, [eax + 4]
mov eax, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
sbb ecx, ecx
neg ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
je 0x59724b
mov esi, dword [esp + 0x4c]
mov al, byte [edi - 1]
cmp al, byte [esi - 1]
jne 0x597243
dec edi
dec esi
inc edx
cmp ebx, edi
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x3c], esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x597226
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
lea eax, [edx - 3]
mov edx, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
sub edx, ebx
mov dword [esp + 0x18], ecx
add eax, 0xffffffe0
mov dword [esp + 0x6c], edx
lea ecx, [ebx + edx]
mov dword [esp + 0x70], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x24]
ja 0x5972de
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x5972f8
mov ecx, dword [esi + 0xc]
lea eax, [edx - 0x10]
movdqu xmm0, xmmword [ebx + 0x10]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5972f4
mov eax, dword [esp + 0x70]
add ecx, 0x10
add ebx, 0x20
lea esp, [esp]
movdqu xmm0, xmmword [ebx]
lea ebx, [ebx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [ebx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x5972c0
jmp 0x5972f4
mov ecx, dword [esi + 0xc]
mov edx, ebx
push eax
push dword [esp + 0x74]
call fcn.005774b0
mov edx, dword [esp + 0x74]
add esp, 8
mov ecx, dword [esp + 0x24]
add dword [esi + 0xc], edx
cmp edx, 0xffff
jbe 0x597315
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add ecx, 3
mov word [eax + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffff
jbe 0x597342
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add edi, dword [esp + 0x20]
mov dword [esp + 0x60], edi
mov ebx, edi
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x48]
cmp edi, eax
ja 0x597624
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xb7a56463
push dword [eax + ecx + 6]
push dword [eax + ecx + 2]
call fcn.005e0820
mov ecx, dword [esp + 0x44]
call fcn.005e2c20
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push 0xcf1bbcdc
add ecx, 2
push 0xb7a56463
mov dword [esi + eax*4], ecx
push dword [edi + 2]
push dword [edi - 2]
call fcn.005e0820
mov ecx, dword [esp + 0x44]
call fcn.005e2c20
mov edx, dword [esp + 0x14]
mov ecx, eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x70], eax
add eax, 0xfffffffe
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0x54]
cmp eax, 3
ja case.default.0x5973d4
jmp dword [eax*4 + 0x598048]
push 0xcf1bbcdc
push 0xbb000000
mov ecx, dword [esp + 0x34]
push dword [ecx + edx + 6]
push dword [ecx + edx + 2]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
jmp 0x597437
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5973e5
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5973e5
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5973e5
mov ecx, dword [esp + 0x2c]
imul eax, dword [ecx + edx + 2], 0x9e3779b1
mov ecx, dword [esp + 0x58]
shr eax, cl
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add ecx, 2
mov dword [esi + eax*4], ecx
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x597452
jmp dword [eax*4 + 0x598058]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 3]
push dword [edi - 1]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov edx, eax
jmp 0x5974ac
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x597463
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x597463
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x597463
imul edx, dword [edi - 1], 0x9e3779b1
mov ecx, dword [esp + 0x58]
shr edx, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
dec eax
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
mov edx, edi
sub edx, dword [esp + 0x28]
xor ecx, ecx
cmp eax, dword [edx]
sete cl
xor eax, eax
cmp eax, dword [esp + 0x28]
sbb eax, eax
neg eax
test eax, ecx
je 0x597618
push dword [esp + 0xc]
add edx, 4
lea ecx, [edi + 4]
call fcn.00577530
mov ecx, dword [esp + 0x2c]
add esp, 4
lea ebx, [eax + 4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
cmp eax, 3
ja case.default.0x597507
jmp dword [eax*4 + 0x598068]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
push dword [edi]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
jmp 0x59755d
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x597518
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x597518
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x597518
imul eax, dword [edi], 0x9e3779b1
mov ecx, dword [esp + 0x58]
shr eax, cl
mov ecx, dword [esp + 0x30]
sub edi, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
mov eax, dword [esp + 0x68]
push dword [eax + 4]
push dword [eax]
call fcn.005e0820
mov ecx, dword [esp + 0x44]
call fcn.005e2c20
mov ecx, dword [esp + 0x34]
mov dword [ecx + eax*4], edi
lea ecx, [ebx - 3]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
add eax, 0xffffffe0
cmp edi, eax
ja 0x5975af
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edi]
movdqu xmmword [eax], xmm0
jmp 0x5975c1
mov ecx, dword [esi + 0xc]
mov edx, edi
push eax
push edi
call fcn.005774b0
add esp, 8
lea ecx, [ebx - 3]
mov eax, dword [esi + 4]
xor edx, edx
mov word [eax + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x5975ed
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add edi, ebx
mov dword [esp + 0x60], edi
mov ebx, edi
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x48]
cmp edi, eax
jbe 0x5974b8
jmp 0x59761c
mov eax, edi
sub eax, ebx
sar eax, 8
inc eax
add edi, eax
mov eax, dword [esp + 0x48]
cmp edi, eax
jb 0x596e30
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
mov ecx, edx
mov esi, dword [ebp + 8]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esi], ecx
cmovne edx, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], edx
sub eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esp + 0x40]
jae 0x59801c
mov ecx, 0x40
mov eax, 0x40
sub ecx, dword [esp + 0x68]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffb
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
lea esp, [esp]
cmp eax, 3
ja case.default.0x597695
jmp dword [eax*4 + 0x598078]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
jmp 0x5976e7
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5976a6
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5976a6
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5976a6
imul eax, dword [ebx], 0x9e3779b1
shr eax, cl
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push 0xcf1bbcdc
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + eax*4]
mov eax, esi
cmp ecx, dword [esp + 0x30]
push 0xb7a56463
push dword [ebx + 4]
cmovb eax, dword [esp + 0x50]
push dword [ebx]
add eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x64], eax
call fcn.005e0820
mov ecx, dword [esp + 0x50]
call fcn.005e2c20
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
cmp edx, dword [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x6c], edx
cmovb eax, dword [esp + 0x44]
add edx, eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x24], eax
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x58], eax
mov eax, esi
mov esi, dword [esp + 0x58]
cmp esi, dword [esp + 0x2c]
cmovb eax, dword [esp + 0x44]
add eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], esi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x58]
dec eax
cmp eax, 3
mov eax, dword [esp + 0x20]
sbb ecx, ecx
inc ecx
cmp eax, dword [esp + 0x58]
sbb eax, eax
neg eax
test eax, ecx
je 0x5978e4
mov ecx, dword [esp + 0x74]
lea eax, [ebx + 1]
mov dword [esp + 0x48], eax
mov edi, eax
mov eax, dword [ecx]
cmp eax, dword [edi]
mov edi, dword [esp + 0x3c]
jne 0x5978e4
mov esi, dword [esp + 0xc]
lea edi, [ecx + 4]
mov eax, dword [esp + 0x58]
mov ebx, esi
cmp eax, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov edx, edi
cmovb ebx, dword [esp + 0x4c]
add eax, 5
mov dword [esp + 0x68], eax
sub eax, edi
add eax, ebx
cmp eax, esi
cmovb ecx, eax
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.00577530
add esp, 4
mov dword [esp + 0x74], eax
lea ecx, [eax + edi]
cmp ecx, ebx
jne 0x597818
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
add ecx, eax
push esi
call fcn.00577530
add esp, 4
add eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x48]
lea edi, [eax + 4]
mov edx, dword [esp + 0x3c]
lea eax, [esi - 0x20]
mov ecx, ebx
sub ecx, edx
mov dword [esp + 0x58], ecx
lea esi, [ecx + edx]
mov dword [esp + 0x74], esi
cmp esi, eax
mov esi, dword [esp + 0x10]
ja 0x59789e
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x5978b2
movdqu xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5978ae
mov eax, dword [esp + 0x74]
add ecx, 0x10
add edx, 0x20
lea esp, [esp]
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x597880
jmp 0x5978ae
mov ecx, dword [esi + 0xc]
push eax
push dword [esp + 0x78]
call fcn.005774b0
add esp, 8
mov ecx, dword [esp + 0x58]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x5978cf
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x597cd2
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [esp + 0x20]
jbe 0x597a4f
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x597a4f
mov eax, dword [ebx + 4]
cmp dword [edx + 4], eax
jne 0x597a4f
cmp ecx, dword [esp + 0x2c]
lea ecx, [ebx + 8]
mov eax, dword [esp + 0x38]
cmovb eax, dword [esp + 0x64]
push dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
cmovb eax, dword [esp + 0x50]
add edx, 8
push eax
push dword [esp + 0x14]
call fcn.005775d0
mov edx, dword [esp + 0x48]
add esp, 0xc
lea edi, [eax + 8]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x70]
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x597983
mov esi, dword [esp + 0x70]
mov al, byte [ebx - 1]
cmp al, byte [esi - 1]
jne 0x597983
dec esi
dec ebx
inc edi
cmp dword [esp + 0x68], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x597966
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x28], eax
sub ecx, edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
lea esi, [ecx + edx]
mov dword [esp + 0x58], ecx
add eax, 0xffffffe0
mov dword [esp + 0x74], esi
cmp esi, eax
mov esi, dword [esp + 0x10]
ja 0x597a0e
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x597a22
movdqu xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x597a1e
mov eax, dword [esp + 0x74]
add ecx, 0x10
add edx, 0x20
lea ecx, [ecx]
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x5979f0
jmp 0x597a1e
mov ecx, dword [esi + 0xc]
push eax
push dword [esp + 0x78]
call fcn.005774b0
add esp, 8
mov ecx, dword [esp + 0x58]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x597a3f
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x6c]
jmp 0x597cca
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x68], ecx
jbe 0x597ff7
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x597ff7
push 0xcf1bbcdc
lea eax, [ebx + 1]
push 0xb7a56463
push dword [eax + 4]
mov dword [esp + 0x7c], eax
push dword [eax]
call fcn.005e0820
mov ecx, dword [esp + 0x50]
call fcn.005e2c20
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
cmp edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmovb edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add edx, edi
inc eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x58], edx
mov dword [ecx], eax
cmp edi, dword [esp + 0x20]
jbe 0x597b76
mov ecx, dword [esp + 0x70]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x597b76
mov eax, dword [ecx + 4]
cmp dword [edx + 4], eax
jne 0x597b76
cmp edi, dword [esp + 0x2c]
lea ecx, [ebx + 9]
mov eax, dword [esp + 0x38]
cmovb eax, dword [esp + 0x64]
push dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
cmovb eax, dword [esp + 0x50]
add edx, 8
push eax
push dword [esp + 0x14]
call fcn.005775d0
mov ebx, dword [esp + 0x7c]
add esp, 0xc
mov edx, dword [esp + 0x3c]
lea edi, [eax + 8]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x58]
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x597bfd
mov edi, edi
mov ecx, dword [esp + 0x58]
lea eax, [ebx - 1]
dec ecx
mov dword [esp + 0x74], eax
mov al, byte [eax]
mov dword [esp + 0x58], ecx
cmp al, byte [ecx]
jne 0x597bfd
mov ebx, dword [esp + 0x74]
inc edi
cmp dword [esp + 0x6c], ecx
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x597b40
jmp 0x597bfd
mov edi, dword [esp + 0x38]
mov eax, edi
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x68], ecx
lea ecx, [ebx + 4]
mov edx, dword [esp + 0x54]
cmovb eax, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x74], eax
lea edx, [edx + 4]
mov eax, edi
cmovb eax, dword [esp + 0x50]
push eax
push edi
call fcn.005775d0
mov edx, dword [esp + 0x48]
add esp, 0xc
lea edi, [eax + 4]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x54]
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x597bfd
mov esi, dword [esp + 0x54]
lea ebx, [ebx]
mov al, byte [ebx - 1]
cmp al, byte [esi - 1]
jne 0x597bfd
dec esi
dec ebx
inc edi
cmp dword [esp + 0x70], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x597be0
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x28], eax
sub ecx, edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
lea esi, [ecx + edx]
mov dword [esp + 0x68], ecx
add eax, 0xffffffe0
mov dword [esp + 0x74], esi
cmp esi, eax
mov esi, dword [esp + 0x10]
ja 0x597c8e
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x597ca2
movdqu xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x597c9e
mov eax, dword [esp + 0x74]
add ecx, 0x10
add edx, 0x20
jmp 0x597c70
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x597c70
jmp 0x597c9e
mov ecx, dword [esi + 0xc]
push eax
push dword [esp + 0x78]
call fcn.005774b0
add esp, 8
mov ecx, dword [esp + 0x68]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x597cbf
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 4]
add ecx, 3
mov dword [eax], ecx
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x597cef
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add ebx, edi
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x3c], edi
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x40]
cmp ebx, eax
ja 0x59800a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xb7a56463
push dword [eax + ecx + 6]
push dword [eax + ecx + 2]
call fcn.005e0820
mov ecx, dword [esp + 0x50]
call fcn.005e2c20
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
push 0xcf1bbcdc
add ecx, 2
push 0xb7a56463
mov dword [esi + eax*4], ecx
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.005e0820
mov ecx, dword [esp + 0x50]
call fcn.005e2c20
mov edx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, edx
mov dword [esp + 0x74], ecx
add ecx, 0xfffffffe
mov dword [esi + eax*4], ecx
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.default.0x597d80
jmp dword [eax*4 + 0x598088]
push 0xcf1bbcdc
push 0xbb000000
mov ecx, dword [esp + 0x2c]
push dword [ecx + edx + 6]
push dword [ecx + edx + 2]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
jmp 0x597de3
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x597d91
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x597d91
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x597d91
mov ecx, dword [esp + 0x24]
imul eax, dword [ecx + edx + 2], 0x9e3779b1
mov ecx, dword [esp + 0x60]
shr eax, cl
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add ecx, 2
mov dword [esi + eax*4], ecx
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x597dfe
jmp dword [eax*4 + 0x598098]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 3]
push dword [ebx - 1]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
mov edx, eax
jmp 0x597e58
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x597e0f
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x597e0f
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x597e0f
imul edx, dword [ebx - 1], 0x9e3779b1
mov ecx, dword [esp + 0x60]
shr edx, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
dec eax
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x2c]
mov eax, ebx
sub eax, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x74], eax
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
cmp edx, ecx
jb 0x597e84
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x70], eax
mov eax, ecx
sub eax, edx
dec eax
cmp eax, 3
sbb ecx, ecx
inc ecx
cmp dword [esp + 0x20], edx
sbb eax, eax
neg eax
test eax, ecx
je 0x598004
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x598004
cmp edx, dword [esp + 0x2c]
lea edx, [ecx + 4]
mov edi, dword [esp + 0xc]
lea ecx, [ebx + 4]
push dword [esp + 0x38]
mov eax, edi
cmovb eax, dword [esp + 0x50]
push eax
push edi
call fcn.005775d0
mov ecx, dword [esp + 0x34]
add eax, 4
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], edx
lea edi, [eax - 3]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
cmp ebx, eax
ja 0x597f08
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [eax], xmm0
jmp 0x597f17
mov ecx, dword [esi + 0xc]
mov edx, ebx
push eax
push ebx
call fcn.005774b0
add esp, 8
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
cmp edi, 0xffff
jbe 0x597f43
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 6], di
add dword [esi + 4], 8
mov eax, dword [esp + 0x5c]
cmp eax, 3
ja case.default.0x597f57
jmp dword [eax*4 + 0x5980a8]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.005e0820
mov ecx, dword [esp + 0x1c]
call fcn.005e2c20
jmp 0x597fad
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x597f68
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x597f68
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x597f68
imul eax, dword [ebx], 0x9e3779b1
mov ecx, dword [esp + 0x60]
shr eax, cl
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 4]
push dword [ebx]
call fcn.005e0820
mov ecx, dword [esp + 0x50]
call fcn.005e2c20
mov ecx, dword [esp + 0x34]
add ebx, dword [esp + 0x70]
mov dword [ebp + 0xc], ebx
mov dword [ecx + eax*4], edi
mov edi, ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
cmp ebx, eax
jbe 0x597e64
jmp 0x598008
mov eax, ebx
sub eax, edi
sar eax, 8
inc eax
add ebx, eax
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x40]
cmp ebx, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
jb 0x597690
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
sub eax, edi
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret