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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
add rax, 0xe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x3c]
mov eax, dword [rax + 0x38]
sub eax, ecx
cmp eax, dword [0x1800f804c]
jge 0x18002a327
mov rax, qword [rsp + 0xb0]
mov ecx, dword [0x1800f8050]
cmp dword [rax + 0x130], ecx
jl 0x18002a4ae
mov eax, dword [0x1800fc20c]
inc eax
mov dword [0x1800fc20c], eax
mov eax, dword [rsp + 0xc0]
mov ecx, dword [0x1800fc230]
add ecx, eax
mov eax, ecx
mov dword [0x1800fc230], eax
call fcn.18007eb70
mov dword [rsp + 0x24], eax
mov eax, dword [0x1800f8098]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cmp eax, 0x1388
jle 0x18002a492
lea rcx, [rsp + 0x38]
call fcn.18002b7a0
mov byte [rsp + 0x3c], reloc.WS2_32.dll_listen
mov byte [rsp + 0x3d], 1
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x3c]
mov eax, dword [rax + 0x38]
sub eax, ecx
cmp eax, dword [0x1800f804c]
jl 0x18002a3a9
mov byte [rsp + 0x3e], 0
jmp 0x18002a3ae
mov byte [rsp + 0x3e], 1
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 8]
mov word [rsp + 0x3f], ax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x41], eax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x20]
mov word [rsp + 0x45], ax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x47], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x4b], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x130]
mov dword [rsp + 0x4f], eax
mov eax, dword [0x1800fc20c]
mov dword [rsp + 0x53], eax
mov eax, dword [0x1800fc230]
mov dword [rsp + 0x57], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb0]
sub rax, qword [rcx + 0x28]
mov dword [rsp + 0x5b], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x5f], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x63], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x67], eax
mov dword [0x1800fc20c], 0
mov dword [0x1800fc230], 0
mov eax, dword [rsp + 0x24]
mov dword [0x1800f8098], eax
mov edx, gethostbyname
lea rcx, [rsp + 0x38]
call fcn.18004ab10
mov rax, qword [rsp + 0xb0]
add rax, 0xe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x18002a65c
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x38], 0x7d2b7500
jl 0x18002a52d
lea rcx, [rsp + 0x28]
call fcn.180023ec0
mov byte [rsp + 0x2c], reloc.WS2_32.dll_recvfrom
mov byte [rsp + 0x2d], 6
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 8]
mov word [rsp + 0x2e], ax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x30], eax
mov edx, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0x28]
call fcn.18004aab0
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x3c], 0
mov rcx, qword [rsp + 0xb0]
call fcn.18002b240
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
inc eax
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x38], eax
lea rcx, [rsp + 0x80]
call fcn.180023e30
mov byte [rsp + 0x84], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 8]
mov word [rsp + 0x86], ax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x98], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.180025000
mov rax, qword [rsp + 0xb0]
add rax, 0x108
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180025240
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x130]
add eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x130], eax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 0x40]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0xb0]
add rax, 0xe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x10]
cmp eax, 2
jne 0x18002a65c
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.18004aab0
mov byte [rsp + 0x20], al
add rsp, 0xa8
ret