Function at 0x6b5916c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov ebx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x138]
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ebx
mov ebx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x10c], ebx
xor ebx, ebx
test byte [0x6b62da06], 0x80
jne 0x6b591ea8
add eax, 4
mov dword [esp + 0x3c], eax
nop
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp]
mov esi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0xac], esi
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb0], esi
mov esi, ebp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x1c]
mov ebp, dword [ebp + 0x2c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xb4], ebp
mov ebp, dword [esi + 0x30]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xb8], ebp
mov ebp, esi
mov esi, dword [esi + 0x34]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xbc], esi
mov esi, dword [ebp + 0x38]
mov dword [esp + 0xc0], esi
mov esi, dword [ebp + 0x3c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc4], esi
mov esi, ebp
and esi, 3
mov dword [esp + 0x2c], esi
jne 0x6b591e80
mov esi, dword [ebp]
mov ebp, dword [esp + 0x24]
xor esi, dword [ebp]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 4]
xor esi, dword [ebp + 4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 8]
xor esi, dword [ebp + 8]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0xc]
xor esi, dword [ebp + 0xc]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x20]
xor ebx, dword [esi + 0x10]
xor eax, dword [esi + 0x1c]
xor ecx, dword [esi + 0x14]
xor edx, dword [esi + 0x18]
mov dword [esp + 0x58], ebx
mov ebx, ebp
mov dword [esp + 0x64], eax
xor edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
xor eax, dword [ebp + 0x24]
mov dword [esp + 0x5c], ecx
mov ebp, dword [esp + 4]
xor ebp, dword [esi + 0x28]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 8]
xor eax, dword [esi + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esi + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x34]
xor eax, dword [ebx + 0x34]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x38]
xor eax, dword [ebx + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x3c]
xor eax, dword [ebx + 0x3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x10], 0
nop
xor ebp, ebp
lea esi, [esi]
mov dword [esp + 4], 0
xor edi, edi
test ebp, ebp
jne 0x6b5918bc
mov eax, dword [esp + 0x10]
mov ebx, dword [eax*8 + 0x6b619f20]
mov edi, dword [eax*8 + 0x6b619f24]
mov dword [esp + 4], ebx
lea eax, [ebp - 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0x89]
mov ecx, dword [eax*8 + 0x6b619720]
mov ebx, dword [eax*8 + 0x6b619724]
mov eax, ecx
shld ecx, ebx, 8
shld ebx, eax, 8
lea eax, [ebp - 2]
and eax, 7
movzx eax, byte [esp + eax*8 + 0x8a]
mov edx, dword [eax*8 + 0x6b619724]
mov eax, dword [eax*8 + 0x6b619720]
mov esi, eax
shld eax, edx, 0x10
shld edx, esi, 0x10
mov esi, eax
mov dword [esp + 8], eax
xor esi, ecx
movzx ecx, byte [esp + ebp*8 + 0x88]
mov dword [esp + 0xc], edx
mov eax, esi
xor ebx, dword [esp + 0xc]
xor eax, dword [ecx*8 + 0x6b619720]
mov edx, eax
mov eax, dword [ecx*8 + 0x6b619724]
lea ecx, [ebp - 3]
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x8b]
xor eax, ebx
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov esi, ecx
shld ecx, ebx, 0x18
xor edx, ecx
lea ecx, [ebp - 4]
shld ebx, esi, 0x18
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x8c]
xor edx, dword [ecx*8 + 0x6b619724]
xor eax, dword [ecx*8 + 0x6b619720]
lea ecx, [ebp - 5]
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x8d]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov esi, ecx
shrd ecx, ebx, 0x18
xor edx, ecx
lea ecx, [ebp - 6]
shrd ebx, esi, 0x18
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x8e]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov esi, ecx
shrd ecx, ebx, 0x10
xor edx, ecx
lea ecx, [ebp - 7]
shrd ebx, esi, 0x10
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x8f]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov esi, ecx
shrd ecx, ebx, 8
shrd ebx, esi, 8
xor edx, ecx
xor eax, ebx
xor edx, dword [esp + 4]
xor edi, eax
mov dword [esp + ebp*8 + 0xc8], edx
mov dword [esp + ebp*8 + 0xcc], edi
add ebp, 1
cmp ebp, 8
jne 0x6b591898
mov eax, dword [esp + 0xc8]
mov esi, 0xffffffff
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xc4], eax
lea esi, [esi]
mov eax, esi
and eax, 7
movzx eax, byte [esp + eax*8 + 0x49]
mov ecx, dword [eax*8 + 0x6b619720]
mov ebx, dword [eax*8 + 0x6b619724]
mov eax, ecx
shld ecx, ebx, 8
shld ebx, eax, 8
movzx eax, byte [esp + esi*8 + 0x50]
mov edx, dword [eax*8 + 0x6b619720]
xor edx, dword [esp + esi*8 + 0xd0]
xor edx, ecx
lea ecx, [esi - 1]
mov eax, dword [eax*8 + 0x6b619724]
xor eax, dword [esp + esi*8 + 0xd4]
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x4a]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov edi, ecx
shld ecx, ebx, 0x10
xor edx, ecx
lea ecx, [esi - 2]
shld ebx, edi, 0x10
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x4b]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov edi, ecx
shld ecx, ebx, 0x18
xor edx, ecx
lea ecx, [esi - 3]
shld ebx, edi, 0x18
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x4c]
xor edx, dword [ecx*8 + 0x6b619724]
xor eax, dword [ecx*8 + 0x6b619720]
lea ecx, [esi - 4]
and ecx, 7
movzx ecx, byte [esp + ecx*8 + 0x4d]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov edi, ecx
shrd ecx, ebx, 0x18
xor edx, ecx
lea ecx, [esi - 5]
shrd ebx, edi, 0x18
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x4e]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov edi, ecx
shrd ecx, ebx, 0x10
xor edx, ecx
lea ecx, [esi - 6]
shrd ebx, edi, 0x10
and ecx, 7
xor eax, ebx
movzx ecx, byte [esp + ecx*8 + 0x4f]
mov ebx, dword [ecx*8 + 0x6b619724]
mov ecx, dword [ecx*8 + 0x6b619720]
mov edi, ecx
shrd ecx, ebx, 8
shrd ebx, edi, 8
xor edx, ecx
xor eax, ebx
mov dword [esp + esi*8 + 0xd0], edx
mov dword [esp + esi*8 + 0xd4], eax
add esi, 1
cmp esi, 7
jne 0x6b591b00
mov edi, dword [esp + 0xe0]
mov esi, dword [esp + 0xd8]
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xec]
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0xf0]
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x4c], edx
mov dword [esp + 4], edi
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x50], ecx
mov dword [esp + 8], edi
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0xf8]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0xfc]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x100]
add dword [esp + 0x10], 1
cmp dword [esp + 0x10], 0xa
mov dword [esp + 0x1c], edi
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x104]
mov dword [esp + 0x84], edi
jne 0x6b591890
mov dword [esp + 0x10], ebx
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
cmp ebx, eax
lea eax, [ebx + 4]
setae byte [esp + 0x10]
cmp dword [esp + 0x24], eax
movzx ebx, byte [esp + 0x10]
setae byte [esp + 0x2b]
movzx eax, byte [esp + 0x2b]
or bl, al
je 0x6b591e57
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x6b591e57
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
xor esi, dword [ebx]
xor esi, dword [eax]
mov dword [ebx], esi
mov esi, ebx
mov ebx, dword [esp + 0x30]
xor ebx, dword [esi + 4]
xor ebx, dword [eax + 4]
mov dword [esi + 4], ebx
xor ecx, dword [esi + 8]
mov ebx, esi
mov esi, eax
xor ecx, dword [eax + 8]
xor edx, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
xor edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 0x10]
xor edx, dword [esp + 0x58]
xor edx, dword [eax + 0x10]
mov eax, dword [esp + 0x34]
xor eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
xor eax, dword [esi + 0x14]
xor ebp, dword [ebx + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
xor eax, dword [esp + 0x60]
xor eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor eax, dword [esp + 0x64]
xor eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
xor ebp, dword [esi + 0x20]
mov dword [ebx + 0x20], ebp
mov eax, dword [ebx + 0x24]
xor eax, dword [esp + 0x6c]
xor eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 4]
xor eax, dword [ebx + 0x28]
xor eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 8]
xor eax, dword [ebx + 0x2c]
xor eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [ebx + 0x30]
xor eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x18]
xor eax, dword [ebx + 0x34]
xor eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x1c]
xor eax, dword [ebx + 0x38]
xor eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x3c]
xor eax, edi
xor eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
add dword [esp + 0x20], 0x40
sub dword [esp + 0x38], 1
jne 0x6b591710
mov eax, dword [esp + 0x10c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b591ec6
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xor edx, edx
lea esi, [esi]
movzx eax, byte [esp + edx + 0x48]
xor al, byte [ecx + edx]
xor al, byte [ebx + edx]
mov byte [ecx + edx], al
add edx, 1
cmp edx, 0x40
jne 0x6b591e68
jmp 0x6b591e2d
mov ecx, dword [esp + 0x24]
mov ebx, ebp
xor edx, edx
lea esi, [esi]
nop
movzx eax, byte [ebx + edx]
xor al, byte [ecx + edx]
mov byte [esp + edx + 0x48], al
add edx, 1
cmp edx, 0x40
jne 0x6b591e90
jmp 0x6b591887
mov eax, dword [esp + 0x10c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b591ec6
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
jmp sym._whirlpool_block_mmx
call sym.___stack_chk_fail
nop
nop
nop
nop
nop