Function at 0x5b5fc1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61acd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6e7070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
xor esi, esi
cmp dword [edi + 0x1c], 3
mov ecx, ebx
push edi
push dword [ebp - 0x2c]
jne 0x5b5e48
mov edx, dword [ebx]
call dword [edx + 0x14]
mov esi, eax
mov dword [ebp - 0x30], eax
jmp 0x5b5e5c
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call eax
test al, al
mov ecx, 1
cmovne esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x38]
xor edi, edi
mov eax, dword [ecx + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x5b5e6e
jmp dword [eax*4 + 0x5b6338]
cmp dword [ecx + 0x1c], 3
jne 0x5b5ece
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x5b5e6e
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x9c]
test eax, eax
jns 0x5b5ea2
mov eax, 0xa
jmp 0x5b5eb9
cmp eax, 0x80
jae 0x5b5eb0
mov eax, 1
jmp 0x5b5eb9
push eax
call fcn.005b4120
add esp, 4
mov edx, dword [ebp - 0x34]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x5b5e88
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x40]
push eax
call fcn.004eb1db
add esp, 4
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b5f30
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x5b5e6e
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
call eax
push edx
push eax
call fcn.005b4160
mov edx, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x5b5f00
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call fcn.005b4160
add esp, 8
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b5fa6
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x5b5e6e
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x9c]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
cmp ecx, 0x80
jae 0x5b5f88
mov eax, 1
jmp 0x5b5f91
push ecx
call fcn.005b4120
add esp, 4
mov edx, dword [ebp - 0x34]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x5b5f61
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x40]
push eax
call fcn.005b7640
add esp, 4
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b6019
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x5b5e6e
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
call eax
mov esi, edx
mov ecx, edx
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
sar esi, 0x1f
xor ecx, edx
xor esi, eax
push ecx
push esi
call fcn.005b4160
mov edx, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x34], edx
cmp edx, dword [ebp - 0x30]
jl 0x5b5fd4
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call fcn.005b7670
add esp, 8
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b608b
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x5b5e6e
nop word [eax + eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xa4]
cmp eax, 0x80
jae 0x5b606d
mov eax, 1
jmp 0x5b6076
push eax
call fcn.005b4120
add esp, 4
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x5b6050
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x48]
push eax
call fcn.004ea4bf
add esp, 4
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b60f0
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x5b5e6e
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa8]
mov ecx, ebx
call eax
push edx
push eax
call fcn.005b4160
mov edx, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x5b60c0
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x4c]
call eax
push edx
push eax
call fcn.005b4160
add esp, 8
mov edi, eax
jmp case.default.0x5b5e6e
lea edi, [esi*4]
jmp case.default.0x5b5e6e
lea edi, [esi*8]
jmp case.default.0x5b5e6e
mov edi, esi
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b616b
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x5b5e6e
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xc0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x5b6140
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push 0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x64]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b61cd
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x5b5e6e
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xc0]
push eax
call fcn.005b6400
mov edx, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x5b61a0
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push 0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x64]
push eax
call fcn.005b6400
add esp, 4
mov edi, eax
jmp case.default.0x5b5e6e
cmp dword [ecx + 0x1c], 3
jne 0x5b6249
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x5b5e6e
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xbc]
mov eax, dword [eax + 8]
test eax, eax
jns 0x5b621d
mov eax, 0xa
jmp 0x5b6234
cmp eax, 0x80
jae 0x5b622b
mov eax, 1
jmp 0x5b6234
push eax
call fcn.005b4120
add esp, 4
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x5b6200
jmp case.default.0x5b5e6e
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x60]
push dword [eax + 8]
call fcn.004eb1db
add esp, 4
mov edi, eax
jmp case.default.0x5b5e6e
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x5b5e6e
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ecx + 0x1c], 3
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
mov dword [ebp - 4], 0
push edx
jne 0x5b62b7
mov edx, dword [ebp - 0x34]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xc4]
jmp 0x5b62c0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
cmp ecx, 0x80
jae 0x5b62d5
mov edx, 1
jmp 0x5b62e3
push ecx
call fcn.005b4120
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
add eax, edx
mov dword [ebp - 4], 0xffffffff
add edi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5b6306
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406367
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x5b6280
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c3c6
mov esp, ebp
pop ebp
ret