Function at 0x5a0fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d38c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe10
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0xd98], 0
xor edi, edi
mov dword [ebp - 0xda8], eax
mov dword [ebp - 0xdbc], eax
mov dword [ebp - 0xdb8], edi
mov dword [ebp - 0xdb0], eax
mov dword [ebp - 0xdb4], eax
lea eax, [ebp - 0xe04]
mov dword [ebp - 4], edi
push eax
call fcn.005a0620
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0xe00]
mov esi, dword [edi]
cmp esi, edi
je 0x5a10c8
mov ecx, dword [ebp - 0xdb8]
lea eax, [esi + 8]
push eax
cmp ecx, dword [ebp - 0xdb0]
je 0x5a1094
call fcn.0059d030
mov ecx, dword [ebp - 0xdb8]
add ecx, 0x18
mov dword [ebp - 0xdb8], ecx
jmp 0x5a10b2
push ecx
lea ecx, [ebp - 0xdbc]
call fcn.0059ee00
mov eax, dword [ebp - 0xdb4]
mov ecx, dword [ebp - 0xdb8]
mov dword [ebp - 0xdb0], eax
mov eax, dword [esi]
mov esi, eax
cmp eax, edi
jne 0x5a1072
mov esi, dword [ebp - 0xdbc]
mov dword [ebp - 0xda8], esi
jmp 0x5a10ca
xor esi, esi
push 0x406300
push ecx
mov ecx, dword [0x40e15c]
mov edx, 0x40e848
call fcn.0059dab0
add esp, 4
mov ecx, eax
call dword [0x40e130]
mov edi, dword [ebp - 0xdb8]
mov dword [ebp - 0xdac], 0
cmp esi, edi
je 0x5a1266
nop dword [eax]
nop word [eax + eax]
mov ax, word [0x40e844]
xorps xmm0, xmm0
movups xmmword [ebp - 0xce8], xmm0
mov word [ebp - 0xce0], ax
movq xmm0, qword [0x40e83c]
mov al, byte [0x40e846]
mov dword [ebp - 0xcd8], 0xb
mov dword [ebp - 0xcd4], 0xf
movq qword [ebp - 0xce8], xmm0
mov byte [ebp - 0xcde], al
mov byte [ebp - 0xcdd], 0
push esi
lea eax, [ebp - 0xde4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xe04]
call fcn.005a2960
mov ecx, dword [eax]
lea eax, [ebp - 0xce8]
push eax
lea eax, [ebp - 0xddc]
add ecx, 0x20
push eax
call fcn.0059dd10
mov dl, 0x20
mov edi, dword [eax]
mov eax, dword [ebp - 0xdac]
inc eax
push eax
push ecx
mov ecx, dword [0x40e15c]
mov dword [ebp - 0xdac], eax
call fcn.005a2630
add esp, 4
mov ecx, eax
call dword [0x40e134]
mov edx, 0x40e8a8
mov ecx, eax
call fcn.0059dab0
mov edx, 0x40e8a4
mov ecx, eax
call fcn.0059dab0
cmp dword [edi + 0x34], 0x10
lea edx, [edi + 0x20]
jb 0x5a11d9
mov edx, dword [edi + 0x20]
push dword [edi + 0x30]
mov ecx, eax
call fcn.0059eba0
add esp, 4
mov edx, 0x40e8a0
mov ecx, eax
call fcn.0059dab0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x5a11fc
mov edx, dword [esi]
push 0x406300
push ecx
push dword [esi + 0x10]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xcd4]
cmp ecx, 0x10
jb 0x5a1255
mov edx, dword [ebp - 0xce8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a124b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
mov edi, dword [ebp - 0xdb8]
add esi, 0x18
cmp esi, edi
jne 0x5a1110
push 0x406300
push ecx
mov ecx, dword [0x40e15c]
mov edx, 0x40e8b0
call fcn.0059dab0
add esp, 4
mov ecx, eax
call dword [0x40e130]
mov edx, dword [ebp - 0xdac]
xor ecx, ecx
test edx, edx
js 0x5a2117
mov esi, ecx
inc ecx
mov dword [ebp - 0xdd0], ecx
cmp ecx, edx
jg 0x5a210f
mov ax, word [0x40e844]
xorps xmm0, xmm0
movups xmmword [ebp - 0xd00], xmm0
mov word [ebp - 0xcf8], ax
movq xmm0, qword [0x40e83c]
mov al, byte [0x40e846]
mov dword [ebp - 0xcf0], 0xb
mov dword [ebp - 0xcec], 0xf
movq qword [ebp - 0xd00], xmm0
mov byte [ebp - 0xcf6], al
mov byte [ebp - 0xcf5], 0
mov ecx, edi
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xda8]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x5a21a0
lea eax, [esi + esi*2]
lea edi, [edi + eax*8]
push edi
lea ecx, [ebp - 0xe04]
mov dword [ebp - 0xda0], edi
call fcn.005a2390
lea edi, [ebp - 0xd00]
mov esi, 0x811c9dc5
xor edx, edx
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, 0xb
jb 0x5a1341
mov edi, dword [ebp - 0xda0]
lea ecx, [ebp - 0xd00]
push esi
push ecx
lea ecx, [ebp - 0xe0c]
push ecx
mov ecx, eax
call fcn.0059ed80
mov esi, dword [ebp - 0xe08]
test esi, esi
je 0x5a2000
push dword [ebp - 0xdd0]
mov dl, 9
add esi, 0x20
push ecx
mov ecx, dword [0x40e15c]
call fcn.005a2630
add esp, 4
mov ecx, eax
call dword [0x40e134]
mov edx, 0x40e8a0
mov ecx, eax
call fcn.0059dab0
mov edx, 0x40e8f8
mov ecx, eax
call fcn.0059dab0
cmp dword [esi + 0x14], 0x10
lea ecx, [esi + 0x10]
mov ecx, dword [ecx]
jb 0x5a13c4
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0059eba0
add esp, 4
mov edx, 0x40e8a0
mov ecx, eax
call fcn.0059dab0
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x5a13e7
mov edx, dword [edi]
push 0x406300
push ecx
push dword [edi + 0x10]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
push 0x406300
mov byte [ebp - 4], 1
mov edx, 0x40e900
push ecx
mov ecx, dword [0x40e15c]
call fcn.0059dab0
add esp, 4
mov ecx, eax
call dword [0x40e130]
mov ax, word [0x40e658]
xorps xmm0, xmm0
movups xmmword [ebp - 0xd30], xmm0
mov word [ebp - 0xd30], ax
mov al, byte [0x40e65a]
mov dword [ebp - 0xd20], 3
mov dword [ebp - 0xd1c], 0xf
mov byte [ebp - 0xd2e], al
mov byte [ebp - 0xd2d], 0
push edi
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 4
call fcn.005a2390
lea edi, [ebp - 0xd30]
mov esi, 0x811c9dc5
xor edx, edx
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, 3
jb 0x5a1481
mov edi, dword [ebp - 0xda0]
lea ecx, [ebp - 0xd30]
push esi
push ecx
lea ecx, [ebp - 0xe14]
push ecx
mov ecx, eax
call fcn.0059ed80
mov esi, dword [ebp - 0xe10]
test esi, esi
je 0x5a2000
mov ecx, dword [0x40e15c]
mov edx, 0x40e944
call fcn.0059dab0
cmp dword [esi + 0x34], 0x10
lea edx, [esi + 0x20]
jb 0x5a14d9
mov edx, dword [esi + 0x20]
push 0x406300
push ecx
push dword [esi + 0x30]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov ax, word [0x40e844]
movups xmmword [ebp - 0xd00], xmm0
mov word [ebp - 0xcf8], ax
movq xmm0, qword [0x40e83c]
mov al, byte [0x40e846]
mov dword [ebp - 0xcf0], 0xb
mov dword [ebp - 0xcec], 0xf
movq qword [ebp - 0xd00], xmm0
mov byte [ebp - 0xcf6], al
mov byte [ebp - 0xcf5], 0
push edi
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 5
call fcn.005a2390
lea edi, [ebp - 0xd00]
mov esi, 0x811c9dc5
xor edx, edx
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, 0xb
jb 0x5a1562
mov edi, dword [ebp - 0xda0]
lea ecx, [ebp - 0xd00]
push esi
push ecx
lea ecx, [ebp - 0xe1c]
push ecx
mov ecx, eax
call fcn.0059ed80
mov esi, dword [ebp - 0xe18]
test esi, esi
je 0x5a2000
mov ecx, dword [0x40e15c]
mov edx, 0x40e95c
call fcn.0059dab0
cmp dword [esi + 0x34], 0x10
lea edx, [esi + 0x20]
jb 0x5a15ba
mov edx, dword [esi + 0x20]
push 0x406300
push ecx
push dword [esi + 0x30]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
mov byte [ebp - 4], 1
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x5a15e7
mov edx, dword [edi]
mov ecx, edx
jmp 0x5a15e9
mov ecx, edi
mov eax, dword [edi + 0x10]
push ecx
add eax, ecx
lea ecx, [ebp - 0xd90]
push eax
push edx
call fcn.005a2850
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd90]
mov edi, dword [ebp - 0xd7c]
cmp edi, 8
mov esi, dword [ebp - 0xd90]
cmovae eax, esi
mov dword [ebp - 0xda4], 0
mov dword [ebp - 0xdc8], eax
lea eax, [ebp - 0xda4]
push eax
push 0xf003f
push 0
push 0x40e978
push 0x80000002
call dword [section..rdata]
test eax, eax
jne 0x5a200b
push eax
push eax
push eax
push eax
mov dword [ebp - 0xdcc], eax
lea eax, [ebp - 0xdc4]
push eax
lea eax, [ebp - 0xcd0]
mov dword [ebp - 0xdc4], 0x400
push eax
push 0
push dword [ebp - 0xda4]
call dword [0x40e008]
test eax, eax
jne 0x5a1f84
nop word [eax + eax]
lea eax, [ebp - 0xd9c]
mov dword [ebp - 0xd9c], 0
push eax
push 0xf003f
push 0
lea eax, [ebp - 0xcd0]
push eax
push dword [ebp - 0xda4]
call dword [section..rdata]
test eax, eax
jne 0x5a1f36
mov esi, dword [0x40e010]
lea eax, [ebp - 0xdd4]
push eax
lea eax, [ebp - 0x4d0]
mov dword [ebp - 0xdd4], 0x400
push eax
push 0
push 0
push 0x40ea14
push dword [ebp - 0xd9c]
call esi
test eax, eax
jne 0x5a1f2a
mov ecx, dword [ebp - 0xdc8]
lea eax, [ebp - 0x4d0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5a172c
test dx, dx
je 0x5a1728
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5a172c
add eax, 4
add ecx, 4
test dx, dx
jne 0x5a1706
xor eax, eax
jmp 0x5a1731
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5a1f2a
push eax
push eax
push eax
push eax
push 0x40ea2c
push dword [ebp - 0xd9c]
call esi
cmp eax, 2
jne 0x5a19de
mov ax, word [0x40e658]
xorps xmm0, xmm0
movups xmmword [ebp - 0xd60], xmm0
mov word [ebp - 0xd60], ax
mov al, byte [0x40e65a]
mov dword [ebp - 0xd50], 3
mov dword [ebp - 0xd4c], 0xf
mov byte [ebp - 0xd5e], al
mov byte [ebp - 0xd5d], 0
push dword [ebp - 0xda0]
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 7
call fcn.005a2390
lea edi, [ebp - 0xd60]
mov esi, 0x811c9dc5
xor edx, edx
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, 3
jb 0x5a17b2
push esi
lea ecx, [ebp - 0xd60]
push ecx
lea ecx, [ebp - 0xddc]
push ecx
mov ecx, eax
call fcn.0059ed80
mov eax, dword [ebp - 0xdd8]
test eax, eax
je 0x5a2000
add eax, 0x20
lea ecx, [ebp - 0xd18]
push eax
call fcn.0059d030
lea eax, [ebp - 0xd18]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd78]
call fcn.0059d030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd18]
cmp dword [ebp - 0xd04], 0x10
mov eax, dword [ebp - 0xd08]
cmovae ecx, dword [ebp - 0xd18]
setae byte [ebp - 0xd91]
add eax, ecx
cmp byte [ebp - 0xd91], 0
lea ecx, [ebp - 0xd18]
cmovne ecx, dword [ebp - 0xd18]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xd48]
call fcn.005a2850
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xd48]
cmp dword [ebp - 0xd34], 8
cmovae edx, dword [ebp - 0xd48]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a1873
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x40ea2c
push dword [ebp - 0xd9c]
call dword [0x40e00c]
test eax, eax
jne 0x5a18e6
mov ecx, dword [0x40e15c]
mov edx, 0x40ea5c
call fcn.0059dab0
cmp dword [ebp - 0xd64], 0x10
lea edx, [ebp - 0xd78]
push 0x406300
cmovae edx, dword [ebp - 0xd78]
push ecx
push dword [ebp - 0xd68]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xd34]
cmp ecx, 8
jb 0x5a192a
mov edx, dword [ebp - 0xd48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1920
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xd64]
mov dword [ebp - 0xd38], 0
mov dword [ebp - 0xd34], 7
mov word [ebp - 0xd48], ax
cmp ecx, 0x10
jb 0x5a1985
mov edx, dword [ebp - 0xd78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a197b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xd04]
mov dword [ebp - 0xd68], 0
mov dword [ebp - 0xd64], 0xf
mov byte [ebp - 0xd78], 0
cmp ecx, 0x10
jb 0x5a19de
mov edx, dword [ebp - 0xd18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a19d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
mov ax, word [0x40e844]
xorps xmm0, xmm0
movups xmmword [ebp - 0xd18], xmm0
mov word [ebp - 0xd10], ax
movq xmm0, qword [0x40e83c]
mov al, byte [0x40e846]
mov dword [ebp - 0xd08], 0xb
mov dword [ebp - 0xd04], 0xf
movq qword [ebp - 0xd18], xmm0
mov byte [ebp - 0xd0e], al
mov byte [ebp - 0xd0d], 0
push dword [ebp - 0xda0]
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 0xc
call fcn.005a2390
lea edi, [ebp - 0xd18]
mov esi, 0x811c9dc5
xor edx, edx
nop dword [eax]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, 0xb
jb 0x5a1a50
push esi
lea ecx, [ebp - 0xd18]
push ecx
lea ecx, [ebp - 0xde4]
push ecx
mov ecx, eax
call fcn.0059ed80
mov esi, dword [ebp - 0xde0]
test esi, esi
je 0x5a2000
cmp dword [esi + 0x34], 0x10
lea ecx, [esi + 0x20]
jb 0x5a1a92
mov ecx, dword [esi + 0x20]
mov esi, dword [esi + 0x30]
cmp esi, 5
jne 0x5a1b0b
mov edx, 0x40e834
sub esi, 4
jb 0x5a1ab5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5a1aba
add ecx, 4
add edx, 4
sub esi, 4
jae 0x5a1aa4
cmp esi, 0xfffffffc
je 0x5a1aee
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x5a1ae7
cmp esi, 0xfffffffd
je 0x5a1aee
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5a1ae7
cmp esi, 0xfffffffe
je 0x5a1aee
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x5a1ae7
cmp esi, 0xffffffff
je 0x5a1aee
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x5a1aee
sbb eax, eax
or eax, 1
jmp 0x5a1af0
xor eax, eax
test eax, eax
jne 0x5a1b0b
lea eax, [ebp - 0xd48]
push eax
call fcn.005a02d0
mov ecx, dword [ebp - 0xd98]
or ecx, 1
jmp 0x5a1b20
lea eax, [ebp - 0xd60]
push eax
call fcn.0059ff30
mov ecx, dword [ebp - 0xd98]
or ecx, 2
mov dword [ebp - 0xcd8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xce8], xmm0
mov dword [ebp - 0xcd4], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0xd98], ecx
movups xmmword [ebp - 0xce8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xcd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 0xe
test cl, 2
je 0x5a1bde
mov eax, dword [ebp - 0xd4c]
and ecx, 0xfffffffd
mov dword [ebp - 0xd98], ecx
cmp eax, 0x10
jb 0x5a1bc3
mov edx, dword [ebp - 0xd60]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1bb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
mov ecx, dword [ebp - 0xd98]
add esp, 8
mov dword [ebp - 0xd50], 0
mov dword [ebp - 0xd4c], 0xf
mov byte [ebp - 0xd60], 0
mov byte [ebp - 4], 0xf
test cl, 1
je 0x5a1c45
and ecx, 0xfffffffe
mov dword [ebp - 0xd98], ecx
mov ecx, dword [ebp - 0xd34]
cmp ecx, 0x10
jb 0x5a1c2a
mov edx, dword [ebp - 0xd48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1c20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
mov dword [ebp - 0xd38], 0
mov dword [ebp - 0xd34], 0xf
mov byte [ebp - 0xd48], 0
lea eax, [ebp - 0xce8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0xd00]
call fcn.0059d030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xce8]
cmp dword [ebp - 0xcd4], 0x10
mov eax, dword [ebp - 0xce8]
mov esi, dword [ebp - 0xcd8]
cmovae ecx, eax
setae dl
add ecx, esi
mov dword [ebp - 0xdc0], ecx
lea ecx, [ebp - 0xce8]
test dl, dl
je 0x5a1c94
add esi, eax
jmp 0x5a1c9c
add esi, ecx
lea eax, [ebp - 0xce8]
push 0x2d
push esi
push eax
call fcn.005a33e0
mov edi, eax
cmp eax, esi
je 0x5a1cbf
inc eax
cmp eax, esi
je 0x5a1cbf
mov cl, byte [eax]
cmp cl, 0x2d
je 0x5a1cba
mov byte [edi], cl
inc edi
inc eax
cmp eax, esi
jne 0x5a1cb0
cmp dword [ebp - 0xcd4], 0x10
lea ecx, [ebp - 0xce8]
mov esi, edi
cmovae ecx, dword [ebp - 0xce8]
setae byte [ebp - 0xd91]
sub esi, ecx
mov ecx, dword [ebp - 0xdc0]
sub ecx, edi
mov edi, dword [ebp - 0xcd8]
mov eax, edi
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp byte [ebp - 0xd91], 0
mov dword [ebp - 0xdc0], ecx
lea ecx, [ebp - 0xce8]
cmovne ecx, dword [ebp - 0xce8]
mov edx, dword [ebp - 0xdc0]
add ecx, esi
sub edi, edx
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.005a448f
add esp, 0xc
mov dword [ebp - 0xcd8], edi
mov edi, dword [0x40e02c]
push 0x64
push 0x258
call edi
cmp dword [ebp - 0xcd4], 0x10
lea esi, [ebp - 0xce8]
mov eax, dword [ebp - 0xcd8]
lea ecx, [ebp - 0xce8]
cmovae esi, dword [ebp - 0xce8]
setae dl
test dl, dl
cmovne ecx, dword [ebp - 0xce8]
push ecx
add eax, ecx
lea ecx, [ebp - 0xd30]
push eax
push esi
call fcn.005a2850
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0xd30]
cmp dword [ebp - 0xd1c], 8
cmovae edx, dword [ebp - 0xd30]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5a1da0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x40ea74
push dword [ebp - 0xd9c]
call dword [0x40e00c]
test eax, eax
jne 0x5a1e32
push 0x64
push 0x3e8
call edi
mov ecx, dword [0x40e15c]
mov edx, 0x40ea94
call fcn.0059dab0
cmp dword [ebp - 0xcec], 0x10
lea edx, [ebp - 0xd00]
push 0x406300
cmovae edx, dword [ebp - 0xd00]
push ecx
push dword [ebp - 0xcf0]
mov ecx, eax
call fcn.0059eba0
add esp, 8
mov ecx, eax
call dword [0x40e130]
mov esi, dword [ebp - 0xdc8]
push esi
push 0
call fcn.005a21b0
push esi
push 1
call fcn.005a21b0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xd1c]
cmp ecx, 8
jb 0x5a1e76
mov edx, dword [ebp - 0xd30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1e6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xcec]
mov dword [ebp - 0xd20], 0
mov dword [ebp - 0xd1c], 7
mov word [ebp - 0xd30], ax
cmp ecx, 0x10
jb 0x5a1ed1
mov edx, dword [ebp - 0xd00]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1ec7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xcd4]
mov dword [ebp - 0xcf0], 0
mov dword [ebp - 0xcec], 0xf
mov byte [ebp - 0xd00], 0
cmp ecx, 0x10
jb 0x5a1f2a
mov edx, dword [ebp - 0xce8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5a1f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push ecx
push edx
call fcn.005a36e1
add esp, 8
push dword [ebp - 0xd9c]
call dword [0x40e004]
mov eax, dword [ebp - 0xdcc]
lea ecx, [ebp - 0xdc4]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0xcd0]
mov dword [ebp - 0xdc4], 0x400
inc eax
push ecx
push eax
push dword [ebp - 0xda4]
mov dword [ebp - 0xdcc], eax
call dword [0x40e008]
test eax, eax
je 0x5a1690
mov edi, dword [ebp - 0xd7c]
mov esi, dword [ebp - 0xd90]
push dword [ebp - 0xda4]
call dword [0x40e004]
push 0x406300
push ecx
mov ecx, dword [0x40e15c]
mov edx, 0x40e900
call fcn.0059dab0
add esp, 4
mov ecx, eax
call dword [0x40e130]
mov byte [ebp - 4], 1
cmp edi, 8
jb 0x5a1fe9
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x5a1fdf
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push edi
push esi
call fcn.005a36e1
add esp, 8
mov edi, dword [ebp - 0xdb8]
mov ecx, dword [ebp - 0xdd0]
mov edx, dword [ebp - 0xdac]
jmp 0x5a1297
push 0x40eb68
call dword [0x40e098]
push 0x406300
push ecx
mov ecx, dword [0x40e144]
mov edx, 0x40eab0
call fcn.0059dab0
add esp, 4
mov ecx, eax
call dword [0x40e130]
cmp edi, 8
jb 0x5a2060
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x5a2056
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
push edi
push esi
call fcn.005a36e1
add esp, 8
lea ecx, [ebp - 0xe04]
call fcn.0059bdb0
mov esi, dword [ebp - 0xda8]
test esi, esi
je 0x5a2182
mov edi, dword [ebp - 0xdb8]
cmp esi, edi
je 0x5a20ca
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x5a20b2
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x5a20a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5a2109
mov eax, edx
push ecx
push eax
call fcn.005a36e1
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x5a2083
mov esi, dword [ebp - 0xda8]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xdb0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5a2178
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5a2178
call dword [0x40e20c]
push 0
call dword [0x40e030]
lea ecx, [ebp - 0xe04]
call fcn.0059bdb0
mov esi, dword [ebp - 0xda8]
test esi, esi
je 0x5a2182
push ecx
mov edx, edi
mov ecx, esi
call fcn.0059e250
mov ecx, dword [ebp - 0xdb0]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5a2178
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5a2178
call dword [0x40e20c]
push ecx
push esi
call fcn.005a36e1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a34a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005a2500
int3