Function at 0x6b522670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x5c], eax
xor eax, eax
test edx, edx
je 0x6b522898
xor esi, esi
jmp 0x6b52281b
xor al, byte [ebp]
mov byte [esp + 0x1c], al
movzx edx, byte [esp + 0x3c]
movzx eax, byte [esp + 0x3b]
mov ecx, edx
add eax, eax
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp], al
movzx eax, byte [esp + 0x3d]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 1], dl
movzx edx, byte [esp + 0x3e]
mov ecx, edx
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp + 2], al
movzx eax, byte [esp + 0x3f]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 3], dl
movzx edx, byte [esp + 0x40]
mov ecx, edx
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp + 4], al
movzx eax, byte [esp + 0x41]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 5], dl
movzx edx, byte [esp + 0x42]
mov ecx, edx
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp + 6], al
movzx eax, byte [esp + 0x43]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 7], dl
movzx edx, byte [esp + 0x44]
mov ecx, edx
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp + 8], al
movzx eax, byte [esp + 0x45]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 9], dl
movzx edx, byte [esp + 0x46]
mov ecx, edx
sar ecx, 7
or eax, ecx
add edx, edx
shr bl, 7
mov byte [ebp + 0xa], al
movzx eax, byte [esp + 0x47]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 0xb], dl
movzx edx, byte [esp + 0x48]
mov ecx, edx
add edx, edx
sar ecx, 7
or eax, ecx
mov byte [ebp + 0xc], al
movzx eax, byte [esp + 0x49]
mov ecx, eax
add eax, eax
sar ecx, 7
or edx, ecx
mov byte [ebp + 0xd], dl
movzx edx, byte [esp + 0x4a]
mov ecx, edx
add edx, edx
sar ecx, 7
or edx, ebx
or eax, ecx
mov byte [ebp + 0xf], dl
mov byte [ebp + 0xe], al
add edi, dword [esp + 0x24]
mov eax, 1
movzx ecx, byte [esp + 0x18]
movzx edx, byte [esp + 0x1c]
shl eax, cl
and edx, 0xffffff80
mov ecx, esi
add esi, 1
movzx edx, dl
and ecx, 7
not eax
and al, byte [edi]
sar edx, cl
or eax, edx
mov byte [edi], al
cmp dword [esp + 0x88], esi
je 0x6b522898
mov ecx, esi
mov edx, dword [ebp]
mov eax, dword [esp + 0x20]
mov edi, esi
not ecx
shr edi, 3
mov ebx, ecx
movzx eax, byte [eax + edi]
mov dword [esp + 0x3b], edx
and ebx, 7
mov edx, dword [ebp + 4]
mov ecx, ebx
mov dword [esp + 0x18], ebx
sar eax, cl
mov dword [esp + 0x3f], edx
mov edx, dword [ebp + 8]
shl eax, 7
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x43], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x47], edx
mov dword [esp + 4], ebp
mov dword [esp], ebp
call eax
mov eax, dword [esp + 0x98]
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x6b5226d0
movzx ebx, byte [ebp]
xor ebx, eax
mov byte [esp + 0x1c], bl
jmp 0x6b5226d7
mov eax, dword [esp + 0x5c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b5228ac
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
nop