Function at 0x18039f450
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, 0x150
lea rdi, [rsp + 0x30]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x160]
lea rcx, [0x1805f1f16]
call fcn.1802680d0
mov qword [rsp + 0x138], 0
cmp qword [rsp + 0x160], 0
jne 0x18039f4c1
mov r8d, 0x36
lea rdx, [0x18058af20]
lea rcx, [0x18058af88]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x18039f49c
cmp dword [rsp + 0x168], 2
jae 0x18039f4db
mov eax, 7
jmp 0x1803a07ff
mov dword [rsp + 0xd4], 0
cmp qword [rsp + 0x170], 0
jne 0x18039f56b
cmp qword [rsp + 0x178], 0
jne 0x18039f516
mov r8d, 0x3f
lea rdx, str.D:Bo4_Project_shield_developmentdepslibtomcrypt_srcpk_asn1dercustom_typeder_decode_custom_type.c
lea rcx, [0x18058b008]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x18039f4f1
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
cmp eax, 0x30
je 0x18039f556
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
cmp eax, 0x31
je 0x18039f556
mov eax, 7
jmp 0x1803a07ff
mov eax, dword [rsp + 0xd4]
inc eax
mov dword [rsp + 0xd4], eax
jmp 0x18039f6b9
mov rax, qword [rsp + 0x170]
cmp dword [rax], 0x13
je 0x18039f582
mov eax, 7
jmp 0x1803a07ff
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x20], 0
jne 0x18039f5ea
mov eax, dword [rsp + 0x168]
mov ecx, eax
call fcn.1802d5eb0
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 0
jne 0x18039f5bb
mov eax, recv
jmp 0x1803a07ff
mov eax, dword [rsp + 0x168]
mov r8d, eax
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x138]
call fcn.1803daa00
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0xe4], eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xe4]
mov rcx, qword [rsp + 0x160]
call fcn.1803a9520
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039f622
jmp 0x1803a07e2
mov rax, qword [rsp + 0x170]
mov eax, dword [rax]
cmp dword [rsp + 0x60], eax
jne 0x18039f66d
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x7c], eax
jne 0x18039f66d
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x80], eax
jne 0x18039f66d
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x28]
cmp qword [rsp + 0x88], rax
je 0x18039f67a
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov eax, dword [rsp + 0xe4]
mov ecx, dword [rsp + 0xd4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 8]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x180], eax
cmp qword [rsp + 0x170], 0
je 0x18039f7a1
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x20], 0
jne 0x18039f7a1
mov rax, qword [rsp + 0x170]
mov ecx, dword [reloc.WS2_32.dll_sendto]
cmp dword [rax + 0x14], ecx
jae 0x18039f706
mov rax, qword [rsp + 0x170]
movsxd rax, dword [rax + 0x14]
lea rcx, [0x18050d500]
cmp dword [rcx + rax*4], 0xffffffff
jne 0x18039f713
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x170]
mov ecx, dword [rcx + 0x14]
mov dword [rax], ecx
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x180], 1
mov eax, dword [rsp + 0xd4]
dec eax
mov dword [rsp + 0xd4], eax
mov eax, 0x50
imul rax, rax, 0
mov rcx, qword [rsp + 0x178]
movsxd rax, dword [rcx + rax]
lea rcx, [0x18050d500]
mov edx, dword [rsp + 0xd4]
mov r8, qword [rsp + 0x138]
movzx eax, byte [rcx + rax*4]
mov byte [r8 + rdx], al
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x124], eax
jmp 0x18039f810
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x124]
lea rdx, [rsp + 0xe4]
mov rcx, rax
call fcn.1803a97f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039f7f7
jmp 0x1803a07e2
mov eax, dword [rsp + 0xe4]
mov ecx, dword [rsp + 0xd4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x124], eax
jbe 0x18039f838
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov dword [rsp + 0x38], 0
jmp 0x18039f84c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x38], eax
jge 0x18039f874
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov dword [rcx + rax + 0x14], 0
jmp 0x18039f842
mov eax, dword [rsp + 0x188]
and eax, 1
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0x124]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0xd4]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x168], eax
mov dword [rsp + 0x38], 0
jmp 0x18039f8d0
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x38], eax
jge 0x1803a06fb
mov dword [rsp + 0x104], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0xc4], eax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x140], rax
cmp dword [rsp + 0x3c], 0
jne 0x18039f962
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x14], 1
jne 0x18039f962
jmp 0x18039f8c6
cmp dword [rsp + 0x40], 0
jne 0x18039f96e
jmp 0x1803a06fb
cmp qword [rsp + 0x170], 0
je 0x18039f99b
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x20], 0
jne 0x18039f99b
cmp dword [rsp + 0x38], 0
je 0x18039f99b
mov dword [rsp + 0x30], reloc.WS2_32.dll_sendto
jmp 0x1803a07e2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x148], eax
cmp dword [rsp + 0x148], 0xd
je 0x18039f9d0
cmp dword [rsp + 0x148], 0xe
je 0x18039f9d0
cmp dword [rsp + 0x148], 0xf
je 0x18039f9d0
cmp dword [rsp + 0x148], 0x13
je 0x18039f9d0
jmp 0x18039f9d2
jmp 0x18039fa14
mov eax, dword [rsp + 0x188]
and eax, 2
cmp eax, 2
jne 0x18039fa14
cmp dword [rsp + 0x168], 0
jbe 0x18039fa14
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
and eax, 0xe0
test eax, eax
je 0x18039fa14
mov dword [rsp + 0x30], reloc.WS2_32.dll_sendto
jmp 0x1803a07e2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x14c], eax
cmp dword [rsp + 0x14c], 0x13
ja case.default.0x18039fa46
movsxd rax, dword [rsp + 0x14c]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3a0820]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a52e0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fab6
cmp dword [rsp + 0x3c], 0
je 0x18039faac
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fab1
jmp 0x18039f8c6
jmp 0x1803a07e2
lea rcx, [rsp + 0x104]
call fcn.1803a5280
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fad3
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a5400
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fb46
cmp dword [rsp + 0x3c], 0
je 0x18039fb3c
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fb41
jmp 0x18039f8c6
jmp 0x1803a07e2
lea rdx, [rsp + 0x104]
mov rcx, qword [rsp + 0x140]
call fcn.1803a5640
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fb6b
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a5800
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fbde
cmp dword [rsp + 0x3c], 0
je 0x18039fbd4
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fbd9
jmp 0x18039f8c6
jmp 0x1803a07e2
mov eax, 4
imul rax, rax, 0
lea rdx, [rsp + 0x104]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + rax]
call fcn.1803a5970
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fc0f
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a5aa0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fc8a
cmp dword [rsp + 0x3c], 0
je 0x18039fc80
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fc85
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea rdx, [rsp + 0x104]
mov ecx, dword [rsp + 0xc4]
call fcn.1803a6070
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fcca
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a5d10
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fd45
cmp dword [rsp + 0x3c], 0
je 0x18039fd3b
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fd40
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea rdx, [rsp + 0x104]
mov ecx, dword [rsp + 0xc4]
call fcn.1803a6070
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fd85
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a6150
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fe00
cmp dword [rsp + 0x3c], 0
je 0x18039fdf6
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fdfb
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea rdx, [rsp + 0x104]
mov ecx, dword [rsp + 0xc4]
call fcn.1803a6370
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fe40
jmp 0x1803a07e2
jmp case.default.0x18039fa46
cmp dword [rsp + 0x168], 2
jb 0x18039fe82
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
cmp eax, 5
jne 0x18039fe82
mov eax, dword [rsp + 0xd4]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18039feb3
cmp dword [rsp + 0x3c], 0
je 0x18039fea1
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fea6
jmp 0x18039f8c6
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov dword [rsp + 0x104], 2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a6420
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039ff39
cmp dword [rsp + 0x3c], 0
je 0x18039ff2f
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039ff34
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a67a0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039ff81
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a6e40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18039fffc
cmp dword [rsp + 0x3c], 0
je 0x18039fff2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x18039fff7
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a7080
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0044
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a6a00
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a00bf
cmp dword [rsp + 0x3c], 0
je 0x1803a00b5
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a00ba
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a6c40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0107
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a7280
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0182
cmp dword [rsp + 0x3c], 0
je 0x1803a0178
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a017d
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a74c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a01ca
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.1803a76c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0245
cmp dword [rsp + 0x3c], 0
je 0x1803a023b
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a0240
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov edx, dword [rsp + 0xc4]
mov dword [rcx + rax + 0x10], edx
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a7a70
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a028d
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x140]
lea rdx, [rsp + 0x104]
mov rcx, rax
call fcn.1803a8580
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0301
cmp dword [rsp + 0x3c], 0
je 0x1803a02f7
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a02fc
jmp 0x18039f8c6
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x140]
lea rdx, [rsp + 0x104]
mov rcx, rax
call fcn.1803a8d40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0375
cmp dword [rsp + 0x3c], 0
je 0x1803a036b
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a0370
jmp 0x18039f8c6
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.180396fa0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a03f8
cmp dword [rsp + 0x3c], 0
je 0x1803a03ee
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a03f3
jmp 0x18039f8c6
jmp 0x1803a07e2
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a46c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0424
jmp 0x1803a07e2
jmp case.default.0x18039fa46
cmp dword [rsp + 0x40], 0xf
jne 0x1803a044b
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
and eax, 0x3f
cmp eax, 0x31
jne 0x1803a046d
cmp dword [rsp + 0x40], 0xd
jne 0x1803a047a
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
movzx eax, byte [rcx + rax]
and eax, 0x3f
cmp eax, 0x30
je 0x1803a047a
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x188]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
mov edx, dword [rsp + 0x104]
mov rcx, rax
call fcn.180396fa0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x15
jne 0x1803a04e2
mov dword [rsp + 0x34], 0x15
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 0
je 0x1803a0512
cmp dword [rsp + 0x3c], 0
je 0x1803a0508
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a050d
jmp 0x18039f8c6
jmp 0x1803a07e2
lea r8, [rsp + 0x104]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x140]
call fcn.1803a46c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a053e
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0xd4]
mov rdx, qword [rsp + 0x160]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov edx, dword [rsp + 0x104]
call fcn.18039f3d0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x15
jne 0x1803a05a7
mov dword [rsp + 0x34], 0x15
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x30], 0
je 0x1803a05d7
cmp dword [rsp + 0x3c], 0
je 0x1803a05cd
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a05d2
jmp 0x18039f8c6
jmp 0x1803a07e2
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
add rcx, rax
mov rax, rcx
xor r8d, r8d
lea rdx, [rsp + 0x104]
mov rcx, rax
call fcn.1803a4c50
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a0611
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov r9d, dword [rsp + 0xc4]
mov r8, qword [rsp + 0x140]
lea rdx, [rsp + 0x104]
mov rcx, rax
call fcn.1803a7be0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1803a068d
cmp dword [rsp + 0x3c], 0
je 0x1803a0683
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
je 0x1803a0688
jmp 0x18039f8c6
jmp 0x1803a07e2
jmp case.default.0x18039fa46
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
jmp 0x1803a07e2
mov eax, dword [rsp + 0x104]
mov ecx, dword [rsp + 0xd4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0x104]
mov ecx, dword [rsp + 0x168]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x168], eax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
mov dword [rcx + rax + 0x14], 1
cmp dword [rsp + 0x3c], 0
jne 0x1803a06f6
mov dword [rsp + 0x38], 0xffffffff
jmp 0x18039f8c6
mov dword [rsp + 0x38], 0
jmp 0x1803a070f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x180]
cmp dword [rsp + 0x38], eax
jge 0x1803a075b
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x14], 0
jne 0x1803a0759
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x178]
cmp dword [rcx + rax + 0x18], 0
jne 0x1803a0759
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
jmp 0x1803a0705
mov eax, dword [rsp + 0xd4]
cmp dword [rsp + 0x124], eax
jne 0x1803a0786
cmp dword [rsp + 0x34], 0
jne 0x1803a0786
cmp dword [rsp + 0x168], 0
jne 0x1803a0786
mov dword [rsp + 0x30], 0
jmp 0x1803a07e2
mov eax, dword [rsp + 0xd4]
cmp dword [rsp + 0x124], eax
jne 0x1803a07b1
cmp dword [rsp + 0x34], 0x15
jne 0x1803a07b1
cmp dword [rsp + 0x168], 0
jne 0x1803a07b1
mov dword [rsp + 0x30], 0
jmp 0x1803a07e2
mov eax, dword [rsp + 0xd4]
cmp dword [rsp + 0x124], eax
je 0x1803a07da
mov eax, dword [rsp + 0x188]
and eax, 2
cmp eax, 2
jne 0x1803a07da
mov dword [rsp + 0x30], 7
jmp 0x1803a07e2
mov dword [rsp + 0x30], 0x15
cmp qword [rsp + 0x138], 0
je 0x1803a07fb
mov rcx, qword [rsp + 0x138]
call fcn.180288030
nop
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.180267ea0
mov rax, rdi
add rsp, 0x150
pop rdi
ret