Function at 0x5f01c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f1ad9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
xor eax, eax
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x5c]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
call fcn.006a077c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.0063ef8c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x1a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
cmp word [ebp - 0x18], 0xfffe
jne 0x5f027b
cmp word [ebp - 0x1a], 0xe000
je 0x5f030d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov cx, 1
mov edx, 0xfffffffe
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1af0
call fcn.00404298
je 0x5f02c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1b0c
call fcn.00404298
je 0x5f02c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1b28
call fcn.00404298
jne 0x5f0496
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
mov eax, ebx
call fcn.004144b4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx + 0x64]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx + 0x68]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx + 0x50]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx + 0x74]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.004144c4
jmp 0x5f0496
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 0x24], 0
jbe 0x5f03ae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5f03a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
shl edx, 2
mov eax, dword [ebp - 0x24]
call fcn.006a077c
mov ecx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
mov eax, ebx
call fcn.004144b4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x20]
add edx, dword [ecx + eax*4]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.004144c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0439
mov eax, dword [ebp - 0x20]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
sub eax, 2
test eax, eax
jl 0x5f0439
inc eax
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x1a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
cmp word [ebp - 0x18], 0xfffe
jne 0x5f03f7
cmp word [ebp - 0x1a], 0xe000
je 0x5f0405
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x38]
mov eax, ebx
call fcn.004144b4
mov edx, eax
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, ebx
call fcn.004144c4
dec dword [ebp - 0x44]
jne 0x5f03c1
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x1a]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov ebx, dword [eax]
call dword [ebx + 4]
cmp word [ebp - 0x18], 0xfffe
jne 0x5f046f
cmp word [ebp - 0x1a], 0xe000
je 0x5f047d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
add ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f04c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1b44
call fcn.00404298
je 0x5f04eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1b64
call fcn.00404298
jne 0x5f057d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x636f8c]
call fcn.0063d358
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x5f0554
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push 0
push 0
push 0
push 1
push 1
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00580e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f055b
mov eax, dword [ebp - 0x3c]
call fcn.00403170
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1b84
call fcn.00404298
jne 0x5f0614
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x636f8c]
call fcn.0063d358
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x5f05eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.005ced98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f05f2
mov eax, dword [ebp - 0x3c]
call fcn.00403170
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1ba4
call fcn.00404298
je 0x5f063c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1bc4
call fcn.00404298
jne 0x5f0850
cmp dword [ebp - 0x40], 0
jne 0x5f065f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
sub ebx, eax
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
dec eax
je 0x5f0676
sub eax, 2
je 0x5f07a9
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
cmp eax, 8
jg 0x5f0711
push 3
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 8
call fcn.00686908
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.005f2ef8
test al, al
je 0x5f0703
mov eax, dword [ebp - 4]
call fcn.005f00b0
mov eax, dword [ebp - 4]
call fcn.005efcfc
mov eax, dword [ebp - 4]
call fcn.005f0090
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov edx, dword [ebp - 4]
cmp eax, 0x10
jg 0x5f1aae
push 4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 8
call fcn.00686908
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
call fcn.005f2ef8
test al, al
je 0x5f079b
mov eax, dword [ebp - 4]
call fcn.005f00b0
mov eax, dword [ebp - 4]
call fcn.005ef8f8
mov eax, dword [ebp - 4]
call fcn.005efec8
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f1aae
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, 8
call fcn.00686908
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.005f2ef8
test al, al
je 0x5f0842
mov eax, dword [ebp - 4]
call fcn.005f00b0
mov eax, dword [ebp - 4]
call fcn.005efcfc
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor ecx, ecx
mov edx, 0x5f1be4
call fcn.006ba3bc
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1bf0
call fcn.00404298
je 0x5f0898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1c10
call fcn.00404298
je 0x5f0898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1c30
call fcn.00404298
je 0x5f0898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1c50
call fcn.00404298
jne 0x5f08a6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, 0x5f1c70
call fcn.00404298
jne 0x5f1199
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, 0x40
call fcn.0040279c
mov dword [ebp - 0x20], eax
sub dword [ebp - 0x40], 0x44
xor edx, edx
push ebp
push 0x5f1192
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 0x40
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x5f0ac4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f0ac4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0069cb7c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0069ce0c
mov eax, dword [ebp - 0x48]
mov edx, 0x5f1c8c
call fcn.00404298
jne 0x5f0ac4
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x5f0abd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
add ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f09e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0aa7
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0a8b
inc ebx
xor eax, eax
mov al, byte [edi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi + 2], al
xor eax, eax
mov al, byte [edi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi + 1], al
xor eax, eax
mov al, byte [edi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x80]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi], al
add esi, 3
inc edi
dec ebx
jne 0x5f0a34
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0a19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f117c
mov eax, dword [ebp - 0x34]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x5f0c08
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f0c08
push 3
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x5f0bec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
add ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f0b66
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0bd6
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0bbe
inc ebx
mov al, byte [edi]
mov byte [esi], al
inc esi
inc edi
dec ebx
jne 0x5f0bb5
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0b9a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0bf3
mov eax, dword [ebp - 0x34]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x5f0e20
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x10
jg 0x5f0e20
push 4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
shl eax, 2
call fcn.0040279c
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x5f0e04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
mov eax, dword [ebp - 0x40]
sar eax, 1
jns 0x5f0c8a
adc eax, 0
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f0cb3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0d30
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0d18
inc ebx
xor eax, eax
mov al, byte [esi]
shl eax, 8
mov edx, dword [ebp - 0x10]
mov word [edx], ax
add dword [ebp - 0x10], 2
inc esi
dec ebx
jne 0x5f0d03
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0ce7
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
mov eax, dword [ebp - 0x40]
sar eax, 1
jns 0x5f0d5b
adc eax, 0
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f0d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0dee
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0de6
inc ebx
xor eax, eax
mov al, byte [esi]
mov edx, dword [ebp - 0x10]
or word [edx], ax
add dword [ebp - 0x10], 2
inc esi
dec ebx
jne 0x5f0dd4
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0db8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0e0b
mov eax, dword [ebp - 0x34]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 3
jne 0x5f1011
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jne 0x5f1011
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0069cb7c
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0069ce0c
mov eax, dword [ebp - 0x50]
mov edx, 0x5f1ca4
call fcn.00404298
jne 0x5f1011
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
call fcn.0040279c
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x5f0ff5
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx*4]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
add ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f0ef4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
sub dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0f7d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov eax, 2
sub eax, dword [ebp - 0x38]
add esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0f5b
inc ebx
mov al, byte [edi]
mov byte [esi], al
add esi, 3
inc edi
dec ebx
jne 0x5f0f50
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
lea edx, [eax + eax*2]
mov ecx, dword [ebp - 4]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0f2b
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jne 0x5f0ea6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f0fdf
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f0fd7
inc ebx
xor eax, eax
mov al, byte [esi]
push eax
xor ecx, ecx
mov cl, byte [esi + 1]
xor edx, edx
mov dl, byte [esi + 2]
mov eax, esi
call fcn.0069b744
add esi, 3
dec ebx
jne 0x5f0fbb
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f0fa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f0ffc
mov eax, dword [ebp - 0x34]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 3
jne 0x5f117c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f117c
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
call fcn.0040279c
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x5f1165
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx*4]
add edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
add ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
cmp ebx, eax
jle 0x5f10b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
call fcn.004039c8
call fcn.004039c8
jmp 0x5f1aae
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x64]
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
call fcn.005f4ad4
sub dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f1142
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov eax, 2
sub eax, dword [ebp - 0x38]
add esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f1120
inc ebx
mov al, byte [edi]
mov byte [esi], al
add esi, 3
inc edi
dec ebx
jne 0x5f1115
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
lea edx, [eax + eax*2]
mov ecx, dword [ebp - 4]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f10f0
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 3
jne 0x5f106b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f116c
mov eax, dword [ebp - 0x34]
call fcn.004027b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1aae
mov eax, dword [ebp - 0x20]
call fcn.004027b4
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
mov ecx, dword [ebp - 4]
imul edx, dword [ecx + 0x70]
test edx, edx
jns 0x5f11c6
add edx, 7
sar edx, 3
imul edx
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
add eax, 2
cmp ebx, eax
jle 0x5f11ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 1
jne 0x5f17bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f1410
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
add eax, 2
cmp ebx, eax
jle 0x5f1242
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0069cb7c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0069ce0c
mov eax, dword [ebp - 0x58]
mov edx, 0x5f1c8c
call fcn.00404298
jne 0x5f1357
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f17bc
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f1336
inc ebx
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
shl byte [ebp - 9], cl
xor eax, eax
mov al, byte [ebp - 9]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi + 2], al
xor eax, eax
mov al, byte [ebp - 9]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi + 1], al
xor eax, eax
mov al, byte [ebp - 9]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x80]
movzx eax, word [edx + eax*2]
mov ecx, 0x101
xor edx, edx
div ecx
mov byte [esi], al
add esi, 3
dec ebx
jne 0x5f12bc
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f12a1
jmp 0x5f17bc
push 3
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f1403
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f13eb
inc ebx
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 9]
shl al, cl
mov byte [esi], al
inc esi
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0x10
jne 0x5f13e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov cx, 1
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
dec ebx
jne 0x5f13a5
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f138a
mov eax, dword [ebp - 4]
call fcn.005f0090
jmp 0x5f17bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0xc
jne 0x5f15c5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0xc
jne 0x5f15c5
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0069cb7c
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0069ce0c
mov eax, dword [ebp - 0x60]
mov edx, 0x5f1c8c
call fcn.00404298
je 0x5f15c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul dword [0x5f1cb0]
faddp st(1)
fstp xword [ebp - 0x78]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
add eax, 2
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fld xword [ebp - 0x78]
fcompp
fnstsw ax
sahf
jbe 0x5f14b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov cx, 1
mov edx, 0xfffffffe
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f15b0
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
jmp 0x5f1588
lea edx, [ebp - 0xa]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov esi, dword [eax]
call dword [esi + 4]
lea edx, [ebp - 0xb]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov esi, dword [eax]
call dword [esi + 4]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov esi, dword [eax]
call dword [esi + 4]
mov al, byte [ebp - 0xb]
and al, 0xf
and eax, 0xff
shl eax, 8
xor edx, edx
mov dl, byte [ebp - 0xa]
add ax, dx
mov edx, dword [ebp - 0x10]
mov word [edx], ax
add dword [ebp - 0x10], 2
inc ebx
mov al, byte [ebp - 0xb]
and al, 0xf0
and eax, 0xff
shr eax, 4
xor edx, edx
mov dl, byte [ebp - 0xc]
shl edx, 4
add ax, dx
mov edx, dword [ebp - 0x10]
mov word [edx], ax
add dword [ebp - 0x10], 2
inc ebx
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x64]
jl 0x5f150c
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f14f8
mov eax, dword [ebp - 4]
call fcn.005ef8f8
mov eax, dword [ebp - 4]
call fcn.005efec8
jmp 0x5f17bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0x10
jg 0x5f17bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144b4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 4]
imul dword [edx + 0x68]
add eax, eax
add ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004144d0
add eax, 2
cmp ebx, eax
jle 0x5f160f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov byte [eax], 1
jmp 0x5f1aae
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0069cb7c
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.0069ce0c
mov eax, dword [ebp - 0x80]
mov edx, 0x5f1c8c
call fcn.00404298
jne 0x5f1717
push 8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f17bc
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f16f6
inc ebx
lea edx, [ebp - 0x16]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 4]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x49]
xor dl, 1
mov ax, word [ebp - 0x16]
call fcn.0069ac98
mov word [ebp - 0x16], ax
movzx eax, word [ebp - 0x16]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
mov ax, word [edx + eax*2]
mov word [esi], ax
movzx eax, word [ebp - 0x16]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
mov ax, word [edx + eax*2]
mov word [esi + 2], ax
movzx eax, word [ebp - 0x16]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x80]
mov ax, word [edx + eax*2]
mov word [esi + 4], ax
add esi, 6
dec ebx
jne 0x5f168f
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f1674
jmp 0x5f17bc
push 4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f17ac
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f1794
inc ebx
lea edx, [ebp - 0x16]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 2
mov esi, dword [eax]
call dword [esi + 4]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x49]
xor dl, 1
mov ax, word [ebp - 0x16]
call fcn.0069ac98
mov edx, dword [ebp - 0x10]
mov word [edx], ax
add dword [ebp - 0x10], 2
dec ebx
jne 0x5f1762
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f1746
mov eax, dword [ebp - 4]
call fcn.005ef8f8
mov eax, dword [ebp - 4]
call fcn.005efec8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 3
jne 0x5f19a8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 1
jne 0x5f19a8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f19a8
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f187b
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
add esi, 2
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f185b
inc ebx
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 9]
shl al, cl
mov byte [esi], al
add esi, 3
dec ebx
jne 0x5f1830
push ebp
mov eax, dword [ebp - 0x14]
mov ecx, 3
cdq
idiv ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f1812
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f1911
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
inc esi
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f18dc
inc ebx
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 9]
shl al, cl
mov byte [esi], al
add esi, 3
dec ebx
jne 0x5f18b1
push ebp
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov eax, ecx
mov ebx, 3
cdq
idiv ebx
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov esi, 3
cdq
idiv esi
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 4]
mov edx, ecx
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f1895
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f19a8
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f1971
inc ebx
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 9]
shl al, cl
mov byte [esi], al
add esi, 3
dec ebx
jne 0x5f1946
push ebp
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov eax, ecx
mov ebx, 3
cdq
idiv ebx
mov ebx, eax
add ebx, ebx
mov eax, dword [ebp - 0x14]
mov esi, 3
cdq
idiv esi
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 4]
mov edx, ecx
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f192b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 3
jne 0x5f1aae
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
jne 0x5f1aae
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 8
jg 0x5f1aae
push 5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x68]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
call dword [ebx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
dec eax
test eax, eax
jl 0x5f1aae
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 0x64]
dec ebx
test ebx, ebx
jl 0x5f1a92
inc ebx
lea edx, [ebp - 0xa]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
lea edx, [ebp - 0xb]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 0xa]
shl al, cl
mov byte [esi], al
inc esi
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 0xc]
shl al, cl
mov byte [esi], al
inc esi
mov eax, dword [ebp - 4]
mov ecx, 8
sub ecx, dword [eax + 0x70]
mov al, byte [ebp - 0xb]
shl al, cl
mov byte [esi], al
inc esi
dec ebx
jne 0x5f1a1d
push ebp
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov eax, dword [ebp - 0x14]
call fcn.005f0160
pop ecx
inc dword [ebp - 0x14]
dec dword [ebp - 0x44]
jne 0x5f1a02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f1ae0
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00403f1c
lea eax, [ebp - 0x64]
mov edx, 8
call fcn.00403f1c
ret