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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [rdx + 0x10]
xor ebp, ebp
mov dword [rsp + 0x60], ebp
mov edi, ebp
mov dword [rsp + 0x48], ebp
mov r13d, r8d
mov qword [rsp + 0x78], rax
mov r15, rdx
mov r14, rcx
call fcn.14005f540
test eax, eax
jne 0x14006078f
mov qword [rsp + 0x98], rbx
mov rdx, r15
mov qword [rsp + 0x90], rsi
mov rcx, r14
mov qword [rsp + 0x88], r12
call fcn.14005e570
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 0x10]
movzx ecx, byte [rax]
cmp cl, 0x9d
jne 0x14005f686
movzx ecx, byte [rax + 0x36]
cmp cl, 0x9e
jne 0x14005f693
mov rcx, qword [rax + 0x20]
mov esi, dword [rcx]
jmp 0x14005f6a8
cmp cl, 0x77
jne 0x14005f6a3
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
mov esi, dword [rcx]
jmp 0x14005f6a8
mov esi, 1
mov rcx, qword [r14]
movsxd r12, esi
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x70], r12
lea rbx, [r12*4 + 1]
add rbx, r12
test rcx, rcx
je 0x14005f6d1
mov rdx, rbx
call fcn.14001e450
jmp 0x14005f6d9
mov rcx, rbx
call fcn.14001dba0
mov qword [rsp + 0x58], rax
mov rcx, rax
test rax, rax
je 0x14005f6f5
mov r8, rbx
xor edx, edx
call fcn.140133600
mov rcx, qword [rsp + 0x58]
mov rax, qword [r14]
cmp byte [rax + 0x55], dil
jne 0x14006060b
cmp r13d, dword [rsp + 0xe8]
lea r9, [rsp + 0x60]
mov rbx, qword [r14 + 0x10]
mov r8d, 3
mov qword [rsp + 0x20], rcx
cmove r9, rbp
mov rdx, r15
mov rcx, r14
call fcn.14005d9a0
mov rdx, qword [rsp + 0x78]
lea r8, [rsp + 0x64]
inc dword [r14 + 0x4c]
mov rcx, r14
mov r13d, eax
call fcn.1400611b0
mov r8, qword [rsp + 0x58]
mov r9d, eax
mov dword [rsp + 0x64], eax
mov edx, ebp
test esi, esi
jle 0x14005f770
mov rcx, rbp
nop dword [rax + rax]
cmp dword [r8 + rcx*4], edx
jne 0x14005f770
inc edx
inc rcx
cmp rcx, r12
jl 0x14005f760
cmp edx, esi
jne 0x14005f781
mov esi, r9d
mov dword [rsp + 0x40], r9d
jmp 0x14005f86a
cmp esi, 1
jne 0x14005f7b4
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14005f79d
inc dword [r14 + 0x38]
mov eax, dword [r14 + 0x38]
mov dword [rsp + 0x40], eax
jmp 0x14005f7e4
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov eax, dword [r14 + rax*4 + 0x18c]
mov dword [rsp + 0x40], eax
jmp 0x14005f7e4
mov ecx, dword [r14 + 0x28]
mov edx, dword [r14 + 0x2c]
mov dword [rsp + 0x40], edx
cmp esi, ecx
jg 0x14005f7d3
lea eax, [rdx + rsi]
sub ecx, esi
mov dword [r14 + 0x2c], eax
mov dword [r14 + 0x28], ecx
jmp 0x14005f7e4
mov eax, dword [r14 + 0x38]
lea ecx, [rax + 1]
add eax, esi
mov dword [r14 + 0x38], eax
mov dword [rsp + 0x40], ecx
test esi, esi
jle 0x14005f866
mov r15d, dword [rsp + 0x40]
mov esi, r9d
mov rax, qword [rbx + 0x18]
mov edx, dword [r8 + rdi*4]
movsxd rcx, dword [rbx + 0xb8]
add edx, r15d
cmp dword [rax + 0x3c], ecx
jg 0x14005f825
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x54
mov r8d, esi
mov rcx, rbx
call fcn.140042d70
mov r8, qword [rsp + 0x58]
jmp 0x14005f852
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x54
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
inc esi
inc rdi
cmp rdi, r12
jl 0x14005f7f0
mov r15, qword [rsp + 0xd8]
mov edi, ebp
mov esi, dword [rsp + 0x40]
cmp r13d, 5
jne 0x14005fdcc
mov rdx, qword [r15 + 0x10]
mov rcx, r14
mov r12, qword [r15 + 0x20]
call fcn.14005a770
mov rcx, rbx
mov r15, rax
call fcn.140043430
mov edi, eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xe8]
mov esi, ebp
cmp eax, dword [rsp + 0xe0]
je 0x14005f92e
movzx ecx, byte [r14 + 0x1f]
test cl, cl
jne 0x14005f8c1
inc dword [r14 + 0x38]
mov esi, dword [r14 + 0x38]
jmp 0x14005f8d2
dec cl
movzx eax, cl
mov byte [r14 + 0x1f], al
mov esi, dword [r14 + rax*4 + 0x18c]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14005f8fd
mov r9d, dword [rsp + 0x40]
mov edx, Ordinal_46
mov r8d, r9d
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.140042d70
jmp 0x14005f92e
mov edx, dword [rsp + 0x40]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_46
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
mov r13d, ebp
cmp dword [r12], ebp
jle 0x14005fc8e
mov rax, rbp
mov qword [rsp + 0x48], rax
mov rdx, qword [r12 + 8]
lea r8, [rsp + 0x50]
mov rcx, r14
mov rdx, qword [rax + rdx]
call fcn.140062da0
mov edi, eax
test esi, esi
je 0x14005fa45
mov rcx, qword [r12 + 8]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + rcx]
movzx r8d, byte [rdx]
lea ecx, [r8 + 0x65]
cmp cl, 1
ja 0x14005f984
mov rdx, qword [rdx + 0x10]
jmp 0x14005f971
cmp r8b, 0x9d
jne 0x14005f98f
movzx r8d, byte [rdx + 0x36]
movzx ecx, r8b
sub ecx, 0x61
je 0x14005fa45
sub ecx, 0x23
je 0x14005fa45
sub ecx, 1
je 0x14005fa45
sub ecx, 1
je 0x14005fa45
cmp ecx, 0x12
jne 0x14005f9ef
test dword [rdx + 4], 0x100000
jne 0x14005f9e6
movsx rcx, word [rdx + 0x30]
test cx, cx
js 0x14005f9e2
mov rax, qword [rdx + 0x40]
shl rcx, 5
mov rax, qword [rax + 8]
cmp byte [rax + rcx + 0x18], bpl
je 0x14005f9e6
mov eax, ebp
jmp 0x14005f9eb
mov eax, 1
test eax, eax
je 0x14005fa45
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14005fa18
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, esi
mov edx, Ordinal_46
mov rcx, rbx
call fcn.140042d70
jmp 0x14005fa45
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_46
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
mov eax, dword [r12]
dec eax
cmp r13d, eax
jl 0x14005fb48
mov r9d, dword [rsp + 0xe0]
cmp dword [rsp + 0xe8], r9d
jne 0x14005fb48
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rsp + 0x40]
cmp dword [rax + 0x3c], edx
jg 0x14005fa94
mov edx, 0x24
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.140042d70
mov edx, eax
jmp 0x14005fac3
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_41
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], bpl
je 0x14005fadb
mov r8, r15
mov edx, 0xfffffffc
call fcn.140043b20
jmp 0x14005fb1d
test edx, edx
jns 0x14005fae7
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], bpl
lea rdx, [rax + rcx*8]
je 0x14005fb10
mov r9d, 0xfffffffc
mov r8, r15
mov rcx, rbx
call fcn.140043e40
jmp 0x14005fb1d
test r15, r15
je 0x14005fb1d
mov qword [rdx + 0x10], r15
mov byte [rdx + 1], 0xfc
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14005fc2a
mov rcx, qword [rsp + 0x68]
movzx edx, byte [rcx]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
or dl, 0x10
mov byte [rax + rcx*8 - 0x15], dl
jmp 0x14005fc2a
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rsp + 0x40]
cmp dword [rax + 0x3c], edx
jg 0x14005fb7a
mov r9d, dword [rsp + 0xd8]
mov edx, Ordinal_41
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140042d70
mov edx, eax
jmp 0x14005fbb1
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], r8d
mov r8d, dword [rsp + 0xd8]
mov dword [rax + rcx*8 + 8], r8d
mov word [rax + rcx*8], Ordinal_41
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], bpl
je 0x14005fbc9
mov r8, r15
mov edx, 0xfffffffc
call fcn.140043b20
jmp 0x14005fc0b
test edx, edx
jns 0x14005fbd5
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], bpl
lea rdx, [rax + rcx*8]
je 0x14005fbfe
mov r9d, 0xfffffffc
mov r8, r15
mov rcx, rbx
call fcn.140043e40
jmp 0x14005fc0b
test r15, r15
je 0x14005fc0b
mov qword [rdx + 0x10], r15
mov byte [rdx + 1], 0xfc
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x14005fc2a
mov rcx, qword [rbx + 0x68]
lea rdx, [rax + rax*2]
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
mov byte [rcx + rdx*8 - 0x15], al
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14005fc6c
movzx r9d, byte [r14 + 0x1f]
cmp r9b, 8
jae 0x14005fc6c
movzx r8d, byte [r14 + 0x25]
lea rax, [r14 + 0xc4]
mov ecx, ebp
test r8d, r8d
je 0x14005fc60
cmp dword [rax + 0xc], edx
je 0x14005fcc4
inc ecx
add rax, 0x14
cmp ecx, r8d
jl 0x14005fc50
mov dword [r14 + r9*4 + 0x18c], edx
inc byte [r14 + 0x1f]
mov rax, qword [rsp + 0x48]
inc r13d
add rax, 0x28
mov qword [rsp + 0x48], rax
cmp r13d, dword [r12]
jl 0x14005f943
mov edi, dword [rsp + 0xd8]
test esi, esi
je 0x14005fd5f
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14005fcca
mov r9d, dword [rsp + 0xe8]
mov r8d, esi
mov edx, Ordinal_35
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.140042d70
jmp 0x14005fcfe
mov byte [rax + 6], 1
jmp 0x14005fc6c
mov edx, dword [rsp + 0xe8]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_35
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14005fd2b
mov r9d, dword [rsp + 0xe0]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x14005fd5f
mov edx, dword [rsp + 0xe0]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14005fd7a
mov eax, dword [rbx + 0xb8]
not edi
movsxd rcx, edi
mov dword [rdx + rcx*4], eax
test esi, esi
je 0x1400605bc
movzx r8d, byte [r14 + 0x1f]
cmp r8b, 8
jae 0x1400605bc
movzx edx, byte [r14 + 0x25]
lea rax, [r14 + 0xc4]
mov ecx, ebp
test edx, edx
je 0x14005fdb2
cmp dword [rax + 0xc], esi
je 0x14005fdc3
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x14005fda3
mov dword [r14 + r8*4 + 0x18c], esi
inc byte [r14 + 0x1f]
jmp 0x1400605bc
mov byte [rax + 6], 1
jmp 0x1400605bc
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0xe8], eax
je 0x14005fdea
mov rcx, rbx
call fcn.140043430
mov edi, eax
mov dword [rsp + 0x48], eax
mov r15d, eax
test r12, r12
jle 0x14005ff63
mov r14, qword [rsp + 0xd8]
mov rdi, rbp
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + 0x10]
movzx r10d, byte [rcx]
movzx eax, r10b
cmp r10b, 0x9d
jne 0x14005fe26
movzx eax, byte [rcx + 0x36]
cmp al, 0x9e
jne 0x14005fe33
lea rax, [rcx + 0x20]
mov r8, rax
jmp 0x14005fe3f
cmp al, 0x77
jne 0x14005fe70
mov rax, qword [rcx + 0x20]
lea r8, [rcx + 0x20]
mov rax, qword [rax]
mov r9, qword [r8]
cmp dword [rax], 1
jle 0x14005fe70
cmp r10b, 0x77
je 0x14005fe60
cmp byte [rcx + 0x36], 0x77
je 0x14005fe60
mov rax, qword [r9 + 8]
mov rcx, qword [rdi + rax]
jmp 0x14005fe70
mov rax, qword [r9]
mov rcx, qword [rax + 8]
mov rcx, qword [rdi + rcx]
nop dword [rax + rax]
movzx edx, byte [rcx]
lea eax, [rdx + 0x65]
cmp al, 1
ja 0x14005fe80
mov rcx, qword [rcx + 0x10]
jmp 0x14005fe70
cmp dl, 0x9d
jne 0x14005fe89
movzx edx, byte [rcx + 0x36]
movzx edx, dl
sub edx, 0x61
je 0x14005ff42
sub edx, 0x23
je 0x14005ff42
sub edx, 1
je 0x14005ff42
sub edx, 1
je 0x14005ff42
cmp edx, 0x12
jne 0x14005feeb
test dword [rcx + 4], 0x100000
jne 0x14005fee2
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x14005fede
mov rdx, rax
mov rax, qword [rcx + 0x40]
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], bpl
je 0x14005fee2
mov eax, ebp
jmp 0x14005fee7
mov eax, 1
test eax, eax
je 0x14005ff42
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14005ff14
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, esi
mov edx, Ordinal_35
mov rcx, rbx
call fcn.140042d70
jmp 0x14005ff42
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_35
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
inc esi
add rdi, 0x28
sub r12, 1
jne 0x14005fe10
mov r14, qword [rsp + 0xd0]
mov edi, dword [rsp + 0x48]
mov r12, qword [rsp + 0x70]
cmp r13d, 1
jne 0x14006004a
mov rax, qword [rsp + 0xd8]
movsxd rcx, dword [rbx + 0xb8]
mov r13d, dword [rsp + 0xe0]
mov edx, dword [rax + 0x2c]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x14005ffad
mov eax, dword [rsp + 0x40]
mov r8d, edx
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov rcx, rbx
call fcn.140042d70
jmp 0x14005ffdf
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x40]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_32
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 8], r13d
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rsi, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
mov dword [rsp + 0x48], esi
cmp dword [rax + 0x3c], esi
jg 0x140060019
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0xd]
call fcn.140042d70
mov r15d, dword [rsp + 0x44]
mov esi, eax
mov dword [rsp + 0x48], eax
jmp 0x1400600c7
mov r15d, dword [rsp + 0x44]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov qword [rax + rcx*8 + 4], rbp
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x1400600c7
mov r15d, dword [rsp + 0x44]
mov edx, 0x62
mov rax, qword [rsp + 0x68]
mov r9d, r15d
mov esi, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x30], r15d
mov r8d, esi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
call fcn.1400430c0
mov rax, qword [rsp + 0xd8]
mov rcx, rbx
mov r13d, dword [rsp + 0xe0]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], esi
mov r8d, dword [rax + 0x2c]
cmp r13d, dword [rsp + 0xe8]
jne 0x1400600b5
mov r9d, r13d
mov edx, reloc.WLDAP32.dll_Ordinal_30
call fcn.140043340
jmp 0x1400605bc
xor r9d, r9d
lea edx, [r9 + 0x1f]
call fcn.140043340
mov esi, eax
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x14006012b
cmp r15d, 1
jne 0x14006012b
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400600fd
mov r8d, edx
mov dword [rsp + 0x20], ebp
lea edx, [r15 + 0x22]
mov r9d, r13d
mov rcx, rbx
call fcn.140042d70
jmp 0x14006012b
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_35
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
cmp r13d, dword [rsp + 0xe8]
jne 0x14006018b
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14006015d
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x14006018b
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
test edi, edi
je 0x1400601aa
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400601aa
mov eax, dword [rbx + 0xb8]
not edi
movsxd rcx, edi
mov dword [rdx + rcx*4], eax
movsxd r8, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
mov rdi, qword [rsp + 0xd8]
mov dword [rsp + 0x50], r8d
mov edx, dword [rdi + 0x2c]
cmp dword [rax + 0x3c], r8d
jg 0x1400601e8
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, reloc.WS2_32.dll_gethostname
mov r9d, r13d
mov rcx, rbx
call fcn.140042d70
mov dword [rsp + 0x50], eax
jmp 0x140060217
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_gethostname
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
cmp r15d, 1
jle 0x140060228
mov rcx, rbx
call fcn.140043430
mov r13d, eax
mov r15d, ebp
test r12, r12
jle 0x14006043e
mov r12, rbp
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14006024a
inc dword [r14 + 0x38]
mov esi, dword [r14 + 0x38]
jmp 0x14006025b
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov esi, dword [r14 + rax*4 + 0x18c]
mov r9, qword [rsp + 0x78]
movzx r8d, byte [r9]
movzx eax, r8b
cmp r8b, 0x9d
jne 0x140060273
movzx eax, byte [r9 + 0x36]
cmp al, 0x9e
jne 0x140060280
lea rax, [r9 + 0x20]
mov rcx, rax
jmp 0x14006028c
cmp al, 0x77
jne 0x1400602bb
mov rax, qword [r9 + 0x20]
lea rcx, [r9 + 0x20]
mov rax, qword [rax]
mov rdx, qword [rcx]
cmp dword [rax], 1
jle 0x1400602bb
cmp r8b, 0x77
je 0x1400602ae
cmp byte [r9 + 0x36], 0x77
je 0x1400602ae
mov rax, qword [rdx + 8]
mov rdx, qword [r12 + rax]
jmp 0x1400602be
mov rax, qword [rdx]
mov rcx, qword [rax + 8]
mov rdx, qword [r12 + rcx]
jmp 0x1400602be
mov rdx, r9
mov rcx, r14
call fcn.14005a770
mov rcx, qword [rbx + 0x18]
mov rdi, rax
mov rax, qword [rsp + 0xd8]
movsxd rdx, dword [rbx + 0xb8]
mov r8d, dword [rax + 0x2c]
cmp dword [rcx + 0x3c], edx
jg 0x1400602fb
mov r9d, r15d
mov dword [rsp + 0x20], esi
mov edx, 0x60
mov rcx, rbx
call fcn.140042d70
jmp 0x14006032a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov r8d, dword [rsp + 0x40]
movsxd rdx, dword [rbx + 0xb8]
add r8d, r15d
cmp dword [rax + 0x3c], edx
jg 0x14006035a
mov r9d, r13d
mov dword [rsp + 0x20], esi
mov edx, 0x24
mov rcx, rbx
call fcn.140042d70
mov edx, eax
jmp 0x140060389
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], Ordinal_41
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], bpl
je 0x1400603a1
mov r8, rdi
mov edx, 0xfffffffc
call fcn.140043b20
jmp 0x1400603e3
test edx, edx
jns 0x1400603ad
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rcx*8 + 1], bpl
lea rdx, [rax + rcx*8]
je 0x1400603d6
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, rbx
call fcn.140043e40
jmp 0x1400603e3
test rdi, rdi
je 0x1400603e3
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfc
test esi, esi
je 0x14006041f
movzx r8d, byte [r14 + 0x1f]
cmp r8b, 8
jae 0x14006041f
movzx edx, byte [r14 + 0x25]
lea rax, [r14 + 0xc4]
mov ecx, ebp
test edx, edx
je 0x140060413
cmp dword [rax + 0xc], esi
je 0x14006046b
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140060404
mov dword [r14 + r8*4 + 0x18c], esi
inc byte [r14 + 0x1f]
inc r15d
add r12, 0x28
sub qword [rsp + 0x70], 1
jne 0x140060237
mov esi, dword [rsp + 0x48]
mov rdi, qword [rsp + 0xd8]
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140060471
mov r9d, dword [rsp + 0xe8]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x1400604a5
mov byte [rax + 6], 1
jmp 0x14006041f
mov edx, dword [rsp + 0xe8]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
cmp dword [rsp + 0x44], 1
jle 0x14006058b
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400604cc
mov eax, dword [rbx + 0xb8]
not r13d
movsxd rcx, r13d
mov dword [rdx + rcx*4], eax
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x50]
movsxd rcx, dword [rbx + 0xb8]
inc edx
mov r8d, dword [rdi + 0x2c]
cmp dword [rax + 0x3c], ecx
jg 0x1400604fc
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 7
mov rcx, rbx
call fcn.140042d70
jmp 0x14006052a
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140060557
mov r9d, dword [rsp + 0xe0]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0xd]
call fcn.140042d70
jmp 0x14006058b
mov edx, dword [rsp + 0xe0]
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x55], bpl
je 0x1400605a3
lea rax, [0x1401bac90]
jmp 0x1400605b9
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov r8d, dword [rsp + 0x40]
cmp r8d, dword [rsp + 0x64]
je 0x140060603
test r8d, r8d
je 0x140060603
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x140060603
movzx ecx, byte [r14 + 0x25]
lea rax, [r14 + 0xc4]
test ecx, ecx
je 0x1400605f7
cmp dword [rax + 0xc], r8d
je 0x140060648
inc ebp
add rax, 0x14
cmp ebp, ecx
jl 0x1400605e7
mov dword [r14 + rdx*4 + 0x18c], r8d
inc byte [r14 + 0x1f]
mov rcx, r14
call fcn.140060cb0
mov rbx, qword [rsp + 0x58]
mov rcx, qword [r14]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
test rbx, rbx
je 0x1400606d4
test rcx, rcx
je 0x140060679
cmp qword [rcx + 0x298], 0
je 0x14006064e
mov rdx, rbx
call fcn.14001dff0
jmp 0x1400606d4
mov byte [rax + 6], 1
jmp 0x140060603
cmp rbx, qword [rcx + 0x180]
jb 0x140060679
cmp rbx, qword [rcx + 0x188]
jae 0x140060679
mov rax, qword [rcx + 0x178]
mov qword [rbx], rax
dec dword [rcx + 0x160]
mov qword [rcx + 0x178], rbx
jmp 0x1400606d4
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1400606cb
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140060694
call qword [0x1401b4498]
mov rcx, rbx
call qword [0x1401b4450]
dec qword [0x1401bac38]
movsxd rcx, eax
sub qword [0x1401babf0], rcx
mov rcx, rbx
call qword [0x1401b4440]
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x1400606d4
call qword [0x1401b44a8]
jmp 0x1400606d4
mov rcx, rbx
call qword [0x1401b4440]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [r14]
test rbx, rbx
je 0x140060787
test rcx, rcx
je 0x14006072c
cmp qword [rcx + 0x298], 0
je 0x140060701
mov rdx, rbx
call fcn.14001dff0
jmp 0x140060787
cmp rbx, qword [rcx + 0x180]
jb 0x14006072c
cmp rbx, qword [rcx + 0x188]
jae 0x14006072c
mov rax, qword [rcx + 0x178]
mov qword [rbx], rax
dec dword [rcx + 0x160]
mov qword [rcx + 0x178], rbx
jmp 0x140060787
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x14006077e
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140060747
call qword [0x1401b4498]
mov rcx, rbx
call qword [0x1401b4450]
dec qword [0x1401bac38]
movsxd rcx, eax
sub qword [0x1401babf0], rcx
mov rcx, rbx
call qword [0x1401b4440]
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140060787
call qword [0x1401b44a8]
jmp 0x140060787
mov rcx, rbx
call qword [0x1401b4440]
mov rbx, qword [rsp + 0x98]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret