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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call fcn.1400d3ad0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
xor eax, eax
mov word [rsp + 0x80], ax
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x1b
ja case.default.0x1400cc49e
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xccea8]
add rax, rcx
jmp rax
cmp qword [rsp + 0x78], 0
je 0x1400cc56f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x78], 0
mov byte [rsp + 0x20], reloc.WS2_32.dll_inet_ntoa
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x1400cc4f3
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + rax*8 + 0x4cc], 0
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x1c]
cmp eax, 0x66
jne 0x1400cc56a
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x20]
mov rcx, qword [rsp + 0xc0]
movzx ecx, byte [rcx + 0x23]
cmp eax, ecx
jne 0x1400cc53f
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + rax*8 + 0x4cc], 1
mov rax, qword [rsp + 0xc8]
movabs rcx, 0x400000000
mov rax, qword [rax + 0x430]
or rax, rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x430], rax
jmp 0x1400cce70
mov eax, 0x80200001
jmp 0x1400cce90
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d0fb0
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d0f00
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d0000
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0580
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d01b0
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0240
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0290
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0350
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d03d0
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0490
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x19]
test eax, eax
je 0x1400cc6e7
mov dword [rsp + 0x38], 1
jmp 0x1400cc6ef
mov dword [rsp + 0x38], 0
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d00c0
mov dword [rsp + 0x24], eax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x78], rax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0d30
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cff00
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0f60
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0ec0
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d0e80
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d0090
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.1400d0550
mov dword [rsp + 0x24], eax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 1
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc859
mov dword [rsp + 0x3c], 1
jmp 0x1400cc861
mov dword [rsp + 0x3c], 0
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 2
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc89a
mov dword [rsp + 0x40], 1
jmp 0x1400cc8a2
mov dword [rsp + 0x40], 0
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 3
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc8db
mov dword [rsp + 0x44], 1
jmp 0x1400cc8e3
mov dword [rsp + 0x44], 0
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 4
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc91c
mov dword [rsp + 0x48], 1
jmp 0x1400cc924
mov dword [rsp + 0x48], 0
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 5
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc95d
mov dword [rsp + 0x4c], 1
jmp 0x1400cc965
mov dword [rsp + 0x4c], 0
movzx eax, word [rsp + 0x4c]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 6
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc99e
mov dword [rsp + 0x50], 1
jmp 0x1400cc9a6
mov dword [rsp + 0x50], 0
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 7
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cc9df
mov dword [rsp + 0x54], 1
jmp 0x1400cc9e7
mov dword [rsp + 0x54], 0
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 8
movzx eax, byte [rax + rcx + 8]
test eax, eax
je 0x1400cca20
mov dword [rsp + 0x58], 1
jmp 0x1400cca28
mov dword [rsp + 0x58], 0
movzx eax, word [rsp + 0x58]
mov word [rsp + 0x80], ax
jmp 0x1400cce38
movzx eax, byte [rsp + 0x20]
and eax, 0x80
lea r8, [rsp + 0x88]
mov rax, qword [rsp + 0x28]
movzx edx, word [rax + 1]
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax + 0xc]
call fcn.1400ddcb0
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d2dc0
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d2cc0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call fcn.1400d3ae0
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ceed0
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
and eax, 0x80000000
test eax, eax
je 0x1400ccae8
mov eax, dword [rsp + 0x5c]
jmp 0x1400cce90
xor eax, eax
test eax, eax
jne 0x1400ccab1
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cb4e0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, 0x80000000
test eax, eax
je 0x1400ccb25
mov eax, dword [rsp + 0x60]
jmp 0x1400cce90
xor eax, eax
test eax, eax
jne 0x1400ccaee
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0xc], 1
jne 0x1400ccc40
mov rax, qword [rsp + 0xc8]
add rax, 0x14
mov r8, rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cfce0
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
and eax, 0x80000000
test eax, eax
je 0x1400ccb7b
mov eax, dword [rsp + 0x64]
jmp 0x1400cce90
xor eax, eax
test eax, eax
jne 0x1400ccb3d
call fcn.1400d3ad0
mov qword [rsp + 0x28], rax
mov dx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x28], rax
mov dx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0x14]
movzx edx, ax
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
jne 0x1400ccbe5
mov eax, 0x80200001
jmp 0x1400cce90
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0x578]
cmp eax, 3
jne 0x1400ccc03
mov dword [rsp + 0x68], 0
jmp 0x1400ccc0b
mov dword [rsp + 0x68], 1
movzx edx, word [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x88]
mov rax, qword [rsp + 0x28]
movzx edx, word [rax + 1]
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rax + 0xc]
call fcn.1400ddcb0
mov eax, 0x7ff
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx]
and cx, ax
movzx eax, cx
movzx eax, ax
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 7]
and al, 0x7f
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x4b0], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 8]
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x4b4], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 9]
and al, 0x7f
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x4b8], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
and al, 3
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x4bc], eax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
shr al, 2
and al, 0x3f
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x4c0], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov ecx, 1
imul rcx, rcx, 0
movzx eax, byte [rax + rcx + 8]
test eax, eax
jne 0x1400cce31
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d22b0
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
je 0x1400ccd6b
cmp dword [rsp + 0x30], 3
je 0x1400ccd6b
cmp dword [rsp + 0x30], 4
je 0x1400ccd6b
cmp dword [rsp + 0x30], 5
je 0x1400ccd6b
jmp 0x1400ccd88
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400d14b0
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400cddc0
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x80000000
test eax, eax
je 0x1400ccdbf
mov eax, dword [rsp + 0x6c]
jmp 0x1400cce90
xor eax, eax
test eax, eax
jne 0x1400ccd88
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call fcn.1400ddc10
movzx eax, al
test eax, eax
je 0x1400cce31
mov rax, qword [rsp + 0xc8]
movabs rcx, 0x1000000000
mov rax, qword [rax + 0x430]
or rax, rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x430], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc8]
add rcx, 0x438
mov r8d, 0x54
mov rdx, rax
call fcn.140103030
mov eax, 0x100000
jmp 0x1400cce90
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
and eax, 0x80000000
test eax, eax
je 0x1400cce53
mov eax, dword [rsp + 0x70]
jmp 0x1400cce90
xor eax, eax
test eax, eax
jne 0x1400cce38
movzx edx, word [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call fcn.1400d3590
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400cce8b
movzx eax, byte [rsp + 0x20]
and eax, 0x80
test eax, eax
je 0x1400cc456
mov eax, 0x100000
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140101e00
add rsp, 0xb8
ret