Function at 0x5754b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
cmp ecx, edi
je 0x5759b3
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x5759b3
mov eax, dword [esp + 0x24]
mov ebx, eax
and ebx, 0x80000007
jns 0x5754df
dec ebx
or ebx, 0xfffffff8
inc ebx
jne 0x5759b3
cmp eax, edi
jl 0x5759b3
cmp edx, edi
lea ebx, [esi + eax]
mov dword [esp + 0x18], ebx
je 0x575529
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x20]
jmp 0x57552d
mov dword [esp + 0xc], edi
cmp esi, ebx
jae 0x5759a8
push ebp
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [ecx + 0xc44]
mov edx, dword [esp + 0x24]
mov edi, eax
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, eax
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, ah
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, eax
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc40]
mov dword [esp + 0x10], edx
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, edx
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc3c]
mov dword [esp + 0x28], eax
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, eax
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, ah
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, eax
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc38]
mov dword [esp + 0x24], edx
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov dword [esp + 0x24], edx
and edx, 0xff
add ebx, dword [ecx + edx*4 + 0x800]
xor ebx, dword [ecx + 0xc34]
mov dword [esp + 0x28], eax
xor eax, ebx
mov edx, eax
mov dword [esp + 0x28], eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [ecx + edx*4]
mov ebx, eax
shr ebx, 0x18
add edx, dword [ecx + ebx*4 + 0x400]
movzx ebx, ah
xor edx, dword [ecx + ebx*4 + 0xc48]
mov ebx, eax
and ebx, 0xff
add edx, dword [ecx + ebx*4 + 0x800]
mov ebp, dword [esp + 0x24]
mov ebx, dword [ecx + 0xc30]
xor edx, ebp
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, edx
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc2c]
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, eax
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, ah
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov dword [esp + 0x24], edx
mov ebp, eax
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc28]
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov dword [esp + 0x24], edx
and edx, 0xff
add ebx, dword [ecx + edx*4 + 0x800]
xor ebx, dword [ecx + 0xc24]
mov dword [esp + 0x28], eax
xor eax, ebx
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [ecx + edx*4]
mov ebx, eax
shr ebx, 0x18
mov ebp, dword [ecx + ebx*4 + 0x400]
movzx ebx, ah
add edx, ebp
mov ebp, dword [ecx + ebx*4 + 0xc48]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ecx + ebx*4 + 0x800]
mov dword [esp + 0x28], eax
add edx, ebp
xor edx, dword [esp + 0x24]
xor edx, dword [ecx + 0xc20]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, edx
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc1c]
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, eax
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, ah
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov dword [esp + 0x24], edx
mov ebp, eax
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc18]
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov dword [esp + 0x24], edx
and edx, 0xff
add ebx, dword [ecx + edx*4 + 0x800]
xor ebx, dword [ecx + 0xc14]
mov dword [esp + 0x28], eax
xor eax, ebx
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov edx, dword [ecx + edx*4]
mov ebx, eax
shr ebx, 0x18
add edx, dword [ecx + ebx*4 + 0x400]
movzx ebx, ah
xor edx, dword [ecx + ebx*4 + 0xc48]
mov ebx, eax
and ebx, 0xff
mov ebp, dword [ecx + ebx*4 + 0x800]
mov ebx, dword [ecx + 0xc10]
add edx, ebp
xor edx, dword [esp + 0x24]
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, edx
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc0c]
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, eax
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, ah
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, eax
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
xor ebx, dword [ecx + 0xc08]
xor edx, ebx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ecx + ebx*4]
mov ebp, edx
shr ebp, 0x18
add ebx, dword [ecx + ebp*4 + 0x400]
movzx ebp, dh
xor ebx, dword [ecx + ebp*4 + 0xc48]
mov ebp, edx
and ebp, 0xff
add ebx, dword [ecx + ebp*4 + 0x800]
mov ebp, dword [ecx + 0xc04]
mov dword [esp + 0x28], eax
xor ebx, ebp
xor ebx, eax
xor ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc00]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
xor eax, edx
xor eax, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
xchg al, ah
rol eax, 0x10
xchg al, ah
xchg dl, dh
ror edx, 0x10
xchg dl, dh
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esi + 4], edx
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add esi, 8
cmp esi, eax
jb 0x575536
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 8