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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f2100]
call fcn.1802680d0
nop
cmp qword [rsp + 0x70], 0
jne 0x1803a25cd
mov r8d, 0x1e
lea rdx, [0x18058b6e0]
lea rcx, [0x18058b748]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x1803a25ab
cmp qword [rsp + 0x80], 0
jne 0x1803a25f8
mov r8d, 0x1f
lea rdx, [0x18058b760]
lea rcx, [0x18058b7c8]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x1803a25d3
cmp qword [rsp + 0x88], 0
jne 0x1803a2623
mov r8d, 0x20
lea rdx, str.D:Bo4_Project_shield_developmentdepslibtomcrypt_srcpk_asn1der_bitder_encode_raw_bit_string.c
lea rcx, [0x18058b848]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x1803a25fe
lea rdx, [rsp + 0x24]
mov ecx, dword [rsp + 0x78]
call fcn.1803a6070
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1803a264b
mov eax, dword [rsp + 0x40]
jmp 0x1803a2869
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jbe 0x1803a2673
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov eax, 6
jmp 0x1803a2869
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x78]
add eax, 7
shr eax, 3
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax], 3
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax]
sub eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x24]
mov rdx, rax
mov ecx, dword [rsp + 0x38]
call fcn.1803a43e0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1803a26f0
mov eax, dword [rsp + 0x40]
jmp 0x1803a2869
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, 8
sub eax, dword [rsp + 0x78]
and eax, 7
mov ecx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov dword [rsp + 0x38], eax
jmp 0x1803a273f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x38], eax
jae 0x1803a2830
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 8
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 8
div ecx
mov eax, edx
mov ecx, 7
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 8
div ecx
mov eax, edx
mov ecx, 7
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x4c]
sar eax, cl
test eax, eax
je 0x1803a27ce
mov dword [rsp + 0x50], 1
jmp 0x1803a27d6
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x38]
and eax, 7
mov ecx, 7
sub ecx, eax
mov eax, ecx
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
movzx ecx, byte [rsp + 0x3c]
or ecx, eax
mov eax, ecx
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x38]
and eax, 7
cmp eax, 7
jne 0x1803a282b
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x3c], 0
jmp 0x1803a2735
mov eax, dword [rsp + 0x78]
and eax, 7
test eax, eax
je 0x1803a2859
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18050bcf0]
call fcn.180267ea0
mov rax, rdi
add rsp, 0x60
pop rdi
ret