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

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [ebx + 0x48]
mov ebp, dword [ebx + 0x4c]
shr eax, 4
add eax, dword [ebx + 0x48]
adc edx, dword [ebx + 0x4c]
add edi, 1
mov dword [esp + 0x18], eax
adc ebp, 0
cmp eax, edi
mov eax, edx
mov dword [esp + 0x1c], edx
sbb eax, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
jb 0x6b529fc3
lea eax, [esp + 0x38]
mov dword [esp + 0x24], eax
lea esi, [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, 0
mov edi, eax
and edi, 1
jne 0x6b529f08
lea esi, [esi]
shrd eax, edx, 1
add ecx, 1
shr edx, 1
mov edi, eax
and edi, 1
je 0x6b529ef8
mov edx, ecx
mov eax, ebx
call sym._ocb_lookup_l
test eax, eax
je 0x6b529ff7
mov edx, dword [ebx + 0x58]
mov edi, dword [ebx + 0x5c]
add esi, 0x10
xor edx, dword [eax]
xor edi, dword [eax + 4]
mov ecx, dword [ebx + 0x60]
mov ebp, dword [ebx + 0x64]
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x5c], edi
xor ecx, dword [eax + 8]
xor ebp, dword [eax + 0xc]
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x64], ebp
mov eax, ebp
mov ebp, dword [esi - 0x10]
mov dword [esp + 0x38], ebp
mov ebp, dword [esi - 0xc]
xor dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi - 8]
xor dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
mov ebp, dword [esi - 4]
xor dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
xor dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [ebx]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
xor dword [ebx + 0x68], eax
mov eax, dword [esp + 0x3c]
xor dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x40]
xor dword [ebx + 0x70], eax
mov eax, dword [esp + 0x44]
xor dword [ebx + 0x74], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
adc dword [esp + 0x14], 0
mov ebp, dword [esp + 0x14]
cmp eax, edi
mov eax, edx
sbb eax, ebp
jae 0x6b529ee0
mov ecx, dword [esp + 0x78]
and ecx, 0xf
jne 0x6b529ffb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x48], eax
mov eax, 1
mov esi, dword [esp + 0x4c]
xor esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b52a0f6
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x6b529fdf
mov eax, dword [ebx + 0x58]
xor eax, dword [ebx + 0x20]
lea edi, [esp + 0x38]
mov dword [esp + 0x38], 0
mov edx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x5c]
mov ebp, edi
xor eax, dword [ebx + 0x24]
mov dword [ebx + 0x58], edx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x60]
xor eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], 0
mov edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x64]
xor eax, dword [ebx + 0x2c]
mov dword [ebx + 0x60], edx
mov edx, esi
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x64], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
cmp ecx, 4
jae 0x6b52a0d6
xor eax, eax
test cl, 2
je 0x6b52a073
movzx eax, word [edx]
mov word [ebp], ax
mov eax, 2
test cl, 1
je 0x6b52a080
movzx edx, byte [edx + eax]
mov byte [ebp + eax], dl
mov byte [esp + ecx + 0x38], pe_nt_image_headers32
mov eax, dword [esp + 0x10]
xor dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
xor dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [ebx]
mov eax, dword [esp + 0x38]
xor dword [ebx + 0x68], eax
mov eax, dword [esp + 0x3c]
xor dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x40]
xor dword [ebx + 0x70], eax
mov eax, dword [esp + 0x44]
xor dword [ebx + 0x74], eax
jmp 0x6b529fcc
mov eax, dword [esp + 0x78]
xor edx, edx
and eax, 0xc
mov ebp, dword [esi + edx]
mov dword [edi + edx], ebp
add edx, 4
cmp edx, eax
jb 0x6b52a0df
lea ebp, [edi + edx]
add edx, esi
jmp 0x6b52a060
call sym.___stack_chk_fail
lea esi, [esi]
nop