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

Disassembly:
jmp 0x1008c970
mov eax, 0x4c
call fcn.100011c0
mov eax, dword [0x102293a4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
push edi
mov dword [esp + 0x34], eax
lea edi, [ebp + 7]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
shr edi, 3
mov dword [esp + 0x40], eax
cmp ebp, 0x40
jg 0x1008d096
movzx ecx, byte [eax]
lea edx, [eax + 1]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
push ebx
movzx ebx, byte [edx + 3]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 6]
shl eax, 8
or ebx, eax
shl ecx, 8
movzx eax, byte [edx + 5]
or ecx, eax
mov eax, dword [esp + 0x28]
shl ecx, 0x10
or ebx, ecx
cmp eax, edi
jb 0x1008d05c
cmp dword [esp + 0x80], 0
mov ecx, ebp
lfence
je 0x1008cd31
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x1008ca37
dec ecx
or ecx, 0xfffffff8
inc ecx
mov ebp, dword [esp + 0x60]
mov edx, 8
sub edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
nop
push dword [esp + 0x34]
sub eax, edi
mov dword [esp + 0x30], ecx
push dword [esp + 0x3c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
push eax
call sym.libcrypto_1_1.dll_DES_encrypt3
lea eax, [edi - 1]
add esp, 0x10
add ebp, edi
xor ecx, ecx
xor edx, edx
cmp eax, 7
ja case.default.0x1008ca85
jmp dword [eax*4 + 0x1008d0a8]
movzx ecx, byte [ebp - 1]
dec ebp
shl ecx, 0x18
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 8
or ecx, eax
movzx eax, byte [ebp - 1]
dec ebp
or ecx, eax
movzx edx, byte [ebp - 1]
dec ebp
shl edx, 0x18
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 8
or edx, eax
movzx eax, byte [ebp - 1]
dec ebp
or edx, eax
lea eax, [edi - 1]
xor ecx, dword [esp + 0x30]
add ebp, edi
xor edx, dword [esp + 0x2c]
add esi, edi
mov dword [esp + 0x24], ecx
cmp eax, 7
ja case.default.0x1008caea
jmp dword [eax*4 + 0x1008d0c8]
dec esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], cl
dec esi
mov eax, edx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], dl
mov eax, dword [esp + 0x68]
add esi, edi
cmp eax, 0x20
jne 0x1008cb3b
mov ecx, ebx
mov ebx, edx
jmp 0x1008cd1c
cmp eax, 0x40
jne 0x1008cb4b
mov ebx, dword [esp + 0x24]
mov ecx, edx
jmp 0x1008cd1c
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x49], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x4a], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x4d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x4e], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x51], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x52], al
mov byte [esp + 0x50], dl
shr edx, 0x18
mov byte [esp + 0x53], dl
mov edx, dword [esp + 0x24]
mov eax, edx
shr eax, 8
mov byte [esp + 0x55], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x4c], bl
shr ebx, 0x18
mov byte [esp + 0x56], al
xor eax, eax
mov byte [esp + 0x48], cl
shr ecx, 0x18
mov byte [esp + 0x4f], bl
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x54], dl
shr edx, 0x18
test ebx, ebx
mov byte [esp + 0x4b], cl
setne al
mov byte [esp + 0x57], dl
add eax, 8
push eax
mov eax, dword [esp + 0x6c]
mov eax, eax
test eax, eax
jns 0x1008cbe3
add eax, 7
sar eax, 3
lea ecx, [esp + 0x4c]
add eax, ecx
push eax
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
test ebx, ebx
je 0x1008ccba
mov dl, byte [esp + 0x49]
mov cl, byte [esp + 0x18]
mov ah, dl
mov al, byte [esp + 0x48]
shr ah, cl
mov cl, bl
shl al, cl
mov cl, byte [esp + 0x18]
or ah, al
mov al, byte [esp + 0x4a]
mov byte [esp + 0x1d], ah
mov ah, al
shr ah, cl
mov cl, bl
shl dl, cl
mov cl, byte [esp + 0x18]
or ah, dl
mov dl, byte [esp + 0x4b]
mov byte [esp + 0x1e], ah
mov ah, dl
shr ah, cl
mov cl, bl
shl al, cl
mov cl, byte [esp + 0x18]
or ah, al
mov al, byte [esp + 0x4c]
mov ch, al
shr ch, cl
mov cl, bl
shl dl, cl
mov cl, byte [esp + 0x18]
or ch, dl
mov dl, byte [esp + 0x4d]
mov dh, dl
shr dh, cl
mov cl, bl
mov bl, byte [esp + 0x4e]
shl al, cl
mov cl, byte [esp + 0x18]
or dh, al
mov al, bl
mov byte [esp + 0x1f], dh
shr al, cl
mov cl, byte [esp + 0x20]
shl dl, cl
mov cl, byte [esp + 0x18]
or al, dl
mov edx, dword [esp + 0x20]
mov dh, byte [esp + 0x1f]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x4f]
mov bh, al
shr bh, cl
mov cl, dl
shl bl, cl
mov cl, byte [esp + 0x18]
or bh, bl
mov bl, byte [esp + 0x1e]
mov byte [esp + 0x12], bh
mov bh, byte [esp + 0x50]
shr bh, cl
mov cl, dl
mov dl, byte [esp + 0x1d]
shl al, cl
or bh, al
jmp 0x1008cce2
mov al, byte [esp + 0x4e]
mov bh, byte [esp + 0x4f]
mov dh, byte [esp + 0x4c]
mov ch, byte [esp + 0x4b]
mov ah, byte [esp + 0x4a]
mov bl, byte [esp + 0x49]
mov dl, byte [esp + 0x48]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x4d]
mov byte [esp + 0x13], al
movzx ecx, ch
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
movzx ebx, bh
shl ecx, 8
movzx eax, dl
or ecx, eax
shl ebx, 8
movzx eax, byte [esp + 0x12]
or ebx, eax
movzx eax, byte [esp + 0x13]
shl ebx, 8
or ebx, eax
movzx eax, dh
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp eax, edi
jae 0x1008ca50
jmp 0x1008d05c
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x1008cd3e
dec ecx
or ecx, 0xfffffff8
inc ecx
mov ebp, dword [esp + 0x60]
mov edx, 8
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
push dword [esp + 0x34]
sub eax, edi
mov dword [esp + 0x30], ecx
push dword [esp + 0x3c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push dword [esp + 0x44]
mov dword [esp + 0x3c], ebx
push eax
call sym.libcrypto_1_1.dll_DES_encrypt3
xor ecx, ecx
lea eax, [edi - 1]
xor edx, edx
mov dword [esp + 0x28], ecx
add esp, 0x10
mov dword [esp + 0x40], edx
add ebp, edi
cmp eax, 7
ja case.default.0x1008cd92
jmp dword [eax*4 + 0x1008d0e8]
movzx ecx, byte [ebp - 1]
dec ebp
shl ecx, 0x18
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 8
or ecx, eax
movzx eax, byte [ebp - 1]
dec ebp
or ecx, eax
mov dword [esp + 0x18], ecx
movzx edx, byte [ebp - 1]
dec ebp
shl edx, 0x18
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 0x10
or edx, eax
movzx eax, byte [ebp - 1]
dec ebp
shl eax, 8
or edx, eax
movzx eax, byte [ebp - 1]
dec ebp
or edx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x68]
add ebp, edi
cmp eax, 0x20
jne 0x1008cdfb
mov ecx, ebx
mov ebx, edx
jmp 0x1008cfe6
cmp eax, 0x40
jne 0x1008ce0d
mov eax, dword [esp + 0x18]
mov ecx, edx
mov ebx, eax
jmp 0x1008cfea
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x49], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x4a], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x4d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x4e], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x51], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x52], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x53], al
mov byte [esp + 0x48], cl
shr ecx, 0x18
mov byte [esp + 0x4b], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x55], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x4c], bl
shr ebx, 0x18
mov byte [esp + 0x57], al
xor eax, eax
mov byte [esp + 0x4f], bl
mov ebx, dword [esp + 0x24]
test ebx, ebx
mov byte [esp + 0x50], dl
setne al
mov byte [esp + 0x54], cl
add eax, 8
push eax
mov eax, dword [esp + 0x6c]
mov eax, eax
test eax, eax
jns 0x1008cea9
add eax, 7
sar eax, 3
lea ecx, [esp + 0x4c]
add eax, ecx
push eax
mov eax, ecx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
test ebx, ebx
je 0x1008cf80
mov dl, byte [esp + 0x49]
mov cl, byte [esp + 0x20]
mov ah, dl
mov al, byte [esp + 0x48]
shr ah, cl
mov cl, bl
shl al, cl
mov cl, byte [esp + 0x20]
or ah, al
mov al, byte [esp + 0x4a]
mov byte [esp + 0x1f], ah
mov ah, al
shr ah, cl
mov cl, bl
shl dl, cl
mov cl, byte [esp + 0x20]
or ah, dl
mov dl, byte [esp + 0x4b]
mov byte [esp + 0x1e], ah
mov ah, dl
shr ah, cl
mov cl, bl
shl al, cl
mov cl, byte [esp + 0x20]
or ah, al
mov al, byte [esp + 0x4c]
mov ch, al
shr ch, cl
mov cl, bl
shl dl, cl
mov cl, byte [esp + 0x20]
or ch, dl
mov dl, byte [esp + 0x4d]
mov dh, dl
shr dh, cl
mov cl, bl
mov bl, byte [esp + 0x4e]
shl al, cl
mov cl, byte [esp + 0x20]
or dh, al
mov al, bl
mov byte [esp + 0x1d], dh
shr al, cl
mov cl, byte [esp + 0x24]
shl dl, cl
mov cl, byte [esp + 0x20]
or al, dl
mov edx, dword [esp + 0x24]
mov dh, byte [esp + 0x1d]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x4f]
mov bh, al
shr bh, cl
mov cl, dl
shl bl, cl
mov cl, byte [esp + 0x20]
or bh, bl
mov bl, byte [esp + 0x1e]
mov byte [esp + 0x13], bh
mov bh, byte [esp + 0x50]
shr bh, cl
mov cl, dl
mov dl, byte [esp + 0x1f]
shl al, cl
or bh, al
jmp 0x1008cfa8
mov al, byte [esp + 0x4e]
mov bh, byte [esp + 0x4f]
mov dh, byte [esp + 0x4c]
mov ch, byte [esp + 0x4b]
mov ah, byte [esp + 0x4a]
mov bl, byte [esp + 0x49]
mov dl, byte [esp + 0x48]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x4d]
mov byte [esp + 0x12], al
movzx ecx, ch
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
movzx ebx, bh
movzx eax, dl
shl ecx, 8
or ecx, eax
shl ebx, 8
movzx eax, byte [esp + 0x13]
or ebx, eax
movzx eax, byte [esp + 0x12]
shl ebx, 8
or ebx, eax
movzx eax, dh
mov edx, dword [esp + 0x40]
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x18]
xor eax, dword [esp + 0x30]
add esi, edi
xor edx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
lea ecx, [edi - 1]
mov dword [esp + 0x18], eax
cmp ecx, 7
ja case.default.0x1008d007
lea ecx, [edi - 1]
jmp dword [ecx*4 + 0x1008d108]
dec esi
shr eax, 0x18
mov byte [esi], al
mov eax, dword [esp + 0x18]
dec esi
shr eax, 0x10
mov byte [esi], al
mov eax, dword [esp + 0x18]
dec esi
shr eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x18]
dec esi
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], dl
mov eax, dword [esp + 0x28]
add esi, edi
mov ecx, dword [esp + 0x14]
cmp eax, edi
jae 0x1008cd55
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ebx
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
mov byte [esi], cl
shr ecx, 0x18
mov byte [esi + 4], bl
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 7], bl
mov byte [esi + 3], cl
mov byte [esi + 6], al
pop ebx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1000b910
add esp, 0x4c
ret