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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], edi
xor edi, edi
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x78], 0x40
mov esi, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], esi
jg 0x6b47c0aa
cmp dword [esp + 0x78], 0x20
jg 0x6b47c1e8
je 0x6b47c268
movzx ecx, byte [esp + 0x78]
mov edx, 1
mov dword [esp + 0x34], 0
shl edx, cl
lea edi, [edx - 1]
mov dword [esp + 0x30], edi
mov edi, dword [esi]
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 4]
lea esi, [eax - 1]
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], edi
test eax, eax
jle 0x6b47c09d
mov eax, dword [esp + 0x78]
lea ebx, [eax + 0xe]
add eax, 7
cmovns ebx, eax
mov eax, 0x20
sub eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
sar ebx, 3
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 1
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x20], eax
add edx, ebx
cmp ebx, 8
ja case.0x6b47bfd3.0
jmp dword [ebx*4 + 0x6b5dbac0]
mov ebp, ecx
sub edx, 1
shr ebp, 0x18
mov eax, ebp
mov byte [edx], al
mov ebp, ecx
sub edx, 1
shr ebp, 0x10
mov eax, ebp
mov byte [edx], al
mov byte [edx - 1], ch
lea ebp, [edx - 1]
mov byte [ebp - 1], cl
lea edx, [ebp - 1]
mov eax, dword [esp + 0x14]
lea ecx, [edx - 1]
shr eax, 0x18
mov byte [edx - 1], al
mov eax, dword [esp + 0x14]
lea edx, [ecx - 1]
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, dword [esp + 0x14]
lea ecx, [edx - 1]
mov byte [edx - 1], ah
movzx eax, byte [esp + 0x14]
lea edx, [ecx - 1]
mov byte [ecx - 1], al
lea eax, [edx + ebx]
cmp dword [esp + 0x78], 0x20
mov dword [esp + 0x28], eax
je 0x6b47c218
cmp dword [esp + 0x78], 0x40
je 0x6b47c228
cmp dword [esp + 0x78], 0x20
jle 0x6b47c238
mov eax, dword [esp + 0x78]
mov ebp, esi
lea edx, [eax - 0x20]
mov eax, 0x40
sub eax, dword [esp + 0x78]
mov ecx, edx
shr edi, cl
mov ecx, eax
shl ebp, cl
mov ecx, edx
shr esi, cl
or edi, ebp
mov ecx, eax
mov dword [esp + 0x1c], edi
mov edi, esi
mov esi, dword [esp + 0x20]
shl esi, cl
or edi, esi
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x6b47bf90
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax], esi
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b47c295
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
movzx ecx, byte [edx - 1]
sub edx, 1
shl ecx, 0x10
or ecx, eax
mov ebp, ecx
movzx ecx, byte [edx - 1]
lea eax, [edx - 1]
shl ecx, 8
or ecx, ebp
lea edx, [eax - 1]
movzx eax, byte [eax - 1]
or ecx, eax
xor ecx, dword [esp + 0x20]
lea eax, [edx - 1]
movzx edx, byte [edx - 1]
shl edx, 0x18
lea ebp, [eax - 1]
movzx eax, byte [eax - 1]
shl eax, 0x10
or eax, edx
lea edx, [ebp - 1]
movzx ebp, byte [ebp - 1]
shl ebp, 8
or ebp, eax
movzx eax, byte [edx - 1]
lea edx, [edx + ebx - 1]
and ecx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
or eax, ebp
xor eax, esi
and eax, dword [esp + 0x30]
add edx, ebx
mov dword [esp + 0x14], eax
cmp ebx, 8
ja case.0x6b47c13e.0
jmp dword [ebx*4 + 0x6b5dbae4]
mov ecx, edx
jmp 0x6b47c028
mov ebp, edx
jmp 0x6b47bffe
xor ebp, ebp
jmp 0x6b47c0d8
mov eax, edx
xor ecx, ecx
jmp 0x6b47c0e4
mov ecx, edx
jmp 0x6b47c011
mov ecx, dword [esp + 0x20]
jmp 0x6b47c0f1
mov eax, edx
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x6b47c0fb
mov ecx, dword [esp + 0x20]
mov ebp, edx
xor eax, eax
jmp 0x6b47c107
mov ecx, dword [esp + 0x20]
xor ebp, ebp
jmp 0x6b47c113
movzx ebp, byte [edx - 1]
sub edx, 1
mov eax, ebp
shl eax, 0x18
jmp 0x6b47c0ca
cmp dword [esp + 0x78], 0x40
je 0x6b47c280
mov edi, dword [esp + 0x78]
mov edx, 1
mov dword [esp + 0x30], 0xffffffff
lea ecx, [edi - 0x20]
shl edx, cl
lea edi, [edx - 1]
mov dword [esp + 0x34], edi
jmp 0x6b47bf54
mov dword [esp + 0x1c], edi
mov edi, esi
jmp 0x6b47c08b
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x20]
jmp 0x6b47c08b
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x78]
mov edx, edi
mov ebp, dword [esp + 0x3c]
shr eax, cl
mov ecx, ebp
shl edx, cl
movzx ecx, byte [esp + 0x78]
or edx, eax
shr edi, cl
mov ecx, ebp
mov dword [esp + 0x1c], edx
shl esi, cl
or edi, esi
jmp 0x6b47c08b
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0xffffffff
jmp 0x6b47bf54
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
jmp 0x6b47bf54
call sym.___stack_chk_fail
lea eax, [edx + ebx]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
add edx, ebx
jmp case.0x6b47c13e.0