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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push r14
sub rsp, 0x100
mov qword [rax - 0x10], rbx
mov rbx, rcx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x28], rdi
mov rdi, qword [rcx]
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
mov r15, rdx
xor eax, eax
mov dword [rsp + 0x8c], 0xffffffff
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x98], eax
mov byte [rsp + 0x60], al
mov qword [rsp + 0xa0], rdi
call fcn.140094390
test byte [r15 + 0x46], 0x20
mov r14, rax
mov eax, 1
jne 0x140088b99
xor r9d, r9d
mov qword [rsp + 0x80], r9
jmp 0x140088bd1
mov rcx, qword [r15 + 0x10]
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x140088bca
nop word [rax + rax]
mov eax, dword [rcx + 0x64]
and al, 3
cmp al, 2
je 0x140088bc2
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x140088bb0
mov qword [rsp + 0x80], rcx
movzx eax, word [rcx + 0x5e]
xor r9d, r9d
movsx r13, word [r15 + 0x3e]
mov ebp, r9d
movzx ecx, byte [rsp + 0x150]
mov r12, r9
mov dword [rsp + 0x74], eax
mov r8d, 2
mov qword [rsp + 0xe8], rsi
test r13, r13
jle 0x140088df9
mov rdx, qword [rsp + 0x118]
mov r15, r9
nop word [rax + rax]
movsx eax, word [rdx + 0x3c]
cmp ebp, eax
je 0x140088ddf
mov rax, qword [rdx + 8]
movzx esi, byte [r15 + rax + 0x28]
test esi, esi
je 0x140088ddf
cmp cl, 0xa
je 0x140088cdf
movzx esi, cl
cmp esi, 5
jne 0x140088c49
cmp qword [r15 + rax + 8], 0
cmove esi, r8d
mov ecx, esi
sub ecx, 1
je 0x140088d42
sub ecx, 1
je 0x140088d2d
sub ecx, 1
je 0x140088d42
cmp ecx, 1
mov dword [rsp + 0x20], r9d
mov rcx, r14
je 0x140088d08
mov edi, dword [rsp + 0x138]
xor r9d, r9d
add edi, ebp
lea edx, [r9 + 0x4d]
lea r8d, [rdi + 1]
call fcn.140056030
mov rdx, qword [rsp + 0x118]
lea r8d, [rdi + 1]
mov rcx, rbx
mov esi, eax
mov rdx, qword [rdx + 8]
mov rdx, qword [r15 + rdx + 8]
call fcn.140070990
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov edx, dword [r14 + 0x3c]
test esi, esi
jns 0x140088cc7
lea esi, [rdx - 1]
mov rax, qword [r14]
cmp byte [rax + 0x51], 0
je 0x140088cf0
lea rax, [0x140330198]
mov dword [rax + 8], edx
jmp 0x140088dc0
cmp esi, 0xa
jne 0x140088c3a
mov esi, r8d
jmp 0x140088c49
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x140088dc0
mov r8d, dword [rsp + 0x138]
mov edx, Ordinal_79
mov r9d, dword [rsp + 0x158]
inc r8d
add r8d, ebp
call fcn.140056030
jmp 0x140088dc8
mov rax, qword [rbx + 0x1c0]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov r9, qword [rdx + 8]
mov rcx, rdi
mov r8, qword [rdx]
lea rdx, str._s._s
mov r9, qword [r15 + r9]
call fcn.140037e60
mov rdi, rax
mov r9d, esi
mov eax, dword [rsp + 0x138]
mov edx, reloc.WS2_32.dll_setsockopt
inc eax
mov r8d, 0x513
add eax, ebp
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140056030
or r9d, 0xffffffff
mov r8, rdi
mov edx, eax
mov rcx, r14
call fcn.140056aa0
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x51], 0
je 0x140088dad
lea rax, [0x140330198]
jmp 0x140088dbc
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov byte [rax + 3], 1
mov rdi, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x118]
xor r9d, r9d
movzx ecx, byte [rsp + 0x150]
lea r8d, [r9 + 2]
inc ebp
inc r12
add r15, 0x30
cmp r12, r13
jl 0x140088c10
mov r15, qword [rsp + 0x118]
mov r13, qword [r15 + 0x30]
mov r12d, dword [rsp + 0x138]
test r13, r13
je 0x140088fca
test dword [rdi + 0x2c], 0x2000
jne 0x140088fca
movzx esi, cl
lea eax, [r12 + 1]
mov dword [rbx + 0x68], eax
cmp cl, 0xa
jne 0x140088e2e
mov esi, r8d
cmp dword [r13], 0
mov ebp, r9d
mov dword [rsp + 0x70], r9d
jle 0x140088fca
mov r12, r9
nop dword [rax]
nop dword [rax + rax]
mov r15, qword [r14 + 0x30]
movsxd rdi, dword [r15 + 0x78]
lea eax, [rdi + 1]
mov dword [r15 + 0x78], eax
lea eax, [rdi - 1]
test edi, eax
jne 0x140088e8a
mov rdx, qword [r15 + 0x80]
lea eax, [rdi*2 + 1]
mov rcx, qword [r15]
movsxd r8, eax
shl r8, 2
call fcn.140036300
mov qword [r15 + 0x80], rax
mov rcx, qword [r15 + 0x80]
test rcx, rcx
je 0x140088e9d
mov dword [rcx + rdi*4], 0xffffffff
mov rdx, qword [r13 + 8]
not edi
mov r9d, reloc.WS2_32.dll_recv
mov r8d, edi
mov rcx, rbx
mov rdx, qword [rdx + r12]
call fcn.140070ee0
cmp esi, 4
jne 0x140088ede
mov r9d, dword [rsp + 0x158]
lea edx, [rsi + 0xa]
xor eax, eax
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140056030
jmp 0x140088f80
mov rax, qword [r13 + 8]
mov rbp, qword [rax + r12 + 8]
test rbp, rbp
jne 0x140088ef7
mov rax, qword [rsp + 0x118]
mov rbp, qword [rax]
mov eax, 2
cmp esi, 5
mov rcx, rbx
cmove esi, eax
call fcn.140094390
mov r15, rax
cmp esi, 2
jne 0x140088f27
mov rax, qword [rbx + 0x1c0]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
xor eax, eax
mov r9d, esi
mov r8d, 0x113
mov dword [rsp + 0x20], eax
mov rcx, r15
lea edx, [rax + 0x16]
call fcn.140056030
xor r9d, r9d
mov r8, rbp
mov edx, eax
mov rcx, r15
call fcn.140056aa0
mov rax, qword [r15]
mov ecx, dword [r15 + 0x3c]
dec ecx
cmp byte [rax + 0x51], 0
je 0x140088f69
lea rax, [0x140330198]
jmp 0x140088f78
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
lea rax, [rax + rcx*8]
mov ebp, dword [rsp + 0x70]
mov byte [rax + 3], 3
mov r8, qword [r14 + 0x30]
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140088f9c
mov eax, dword [r14 + 0x3c]
not edi
movsxd rcx, edi
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
inc ebp
dec eax
mov dword [rsp + 0x70], ebp
add r12, 0x28
mov dword [r8 + 0x64], eax
cmp ebp, dword [r13]
jl 0x140088e50
mov r15, qword [rsp + 0x118]
mov r12d, dword [rsp + 0x138]
cmp byte [rsp + 0x148], 0
mov edx, reloc.WLDAP32.dll_Ordinal_79
je 0x1400893e2
mov rax, qword [rsp + 0x80]
test rax, rax
jne 0x1400893e2
mov rdi, qword [r14 + 0x30]
movsxd rsi, dword [rdi + 0x78]
lea eax, [rsi + 1]
mov dword [rdi + 0x78], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x14008902c
mov rdx, qword [rdi + 0x80]
lea eax, [rsi*2 + 1]
mov rcx, qword [rdi]
movsxd r8, eax
shl r8, 2
call fcn.140036300
mov qword [rdi + 0x80], rax
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x14008903f
mov dword [rcx + rsi*4], 0xffffffff
movzx ebp, byte [rsp + 0x150]
not esi
movzx edi, byte [r15 + 0x47]
cmp bpl, 0xa
je 0x14008905a
movzx edi, bpl
jmp 0x140089065
cmp edi, 0xa
mov eax, 2
cmove edi, eax
mov eax, dword [rsp + 0x140]
test eax, eax
je 0x1400890ad
mov r9d, esi
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov rcx, r14
call fcn.140056030
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x51], 0
je 0x14008909a
lea rax, [0x140330198]
jmp 0x1400890a9
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov byte [rax + 3], 0x90
cmp edi, 5
jne 0x1400890d3
cmp bpl, dil
je 0x1400890d3
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400890d3
movzx eax, byte [rcx + 0x62]
sub al, 3
cmp al, 1
jbe 0x14008912d
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x1400890c0
mov r13d, dword [rsp + 0x6c]
mov rcx, qword [r14 + 0x30]
movsxd rbp, dword [r14 + 0x3c]
cmp dword [rcx + 0x60], ebp
jg 0x1400890f1
mov rcx, r14
call fcn.140055f80
test eax, eax
jne 0x14008914d
inc dword [r14 + 0x3c]
lea rcx, [rbp*2]
mov rax, qword [r14 + 8]
add rcx, rbp
mov edx, dword [rsp + 0x128]
xor r9d, r9d
mov word [rax + rcx*8], 0x49
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140089150
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0xe]
call fcn.140056030
mov r13d, eax
mov dword [rsp + 0x6c], eax
jmp 0x1400890d8
xor r9d, r9d
test edi, edi
je 0x1400892ee
cmp edi, 3
jbe 0x1400892f5
cmp edi, 4
je 0x1400892d0
cmp edi, 5
jne 0x1400892ee
mov rax, qword [rsp + 0xa0]
mov rbp, r9
test dword [rax + 0x2c], 0x40000
je 0x1400891d5
mov rax, qword [rbx]
mov edi, r9d
mov r8, r9
test dword [rax + 0x2c], 0x800000
je 0x1400891aa
mov rdx, r15
mov rcx, rbx
call fcn.14009b350
mov r8, rax
xor r9d, r9d
mov rdx, r8
test r8, r8
je 0x1400891c7
cmp byte [rdx + 0x10], 0x6d
jne 0x1400891be
movzx ecx, byte [rdx + 0x11]
or edi, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x1400891b2
test edi, edi
mov rbp, r9
cmovne rbp, r8
test rbp, rbp
jne 0x140089210
mov rax, qword [rbx]
test dword [rax + 0x2c], 0x80000
je 0x14008927c
mov rcx, qword [r15 + 0x68]
lea r8, [rsp + 0x9c]
mov rdx, qword [r15]
add rcx, 0x50
call fcn.14003a3b0
test rax, rax
je 0x140089209
cmp qword [rax + 0x10], 0
jne 0x140089210
cmp qword [r15 + 0x20], 0
je 0x140089279
mov rax, qword [rbx + 0x1c0]
mov rcx, rbx
mov r9d, dword [rsp + 0x130]
test rax, rax
mov edi, 1
mov r8, rbp
cmovne rcx, rax
mov rdx, r15
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov byte [rsp + 0x48], 1
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], di
mov byte [rcx + 0x20], 1
mov rcx, rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x128]
call fcn.14007ff00
mov dword [rsp + 0x88], edi
jmp 0x140089357
xor r9d, r9d
cmp qword [r15 + 0x10], 0
je 0x1400892bf
mov rax, qword [rbx + 0x1c0]
mov rcx, rbx
mov r8d, dword [rsp + 0x128]
test rax, rax
mov rdx, r15
cmovne rcx, rax
or eax, 0xffffffff
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, dword [rsp + 0x130]
mov byte [rcx + 0x20], 1
mov rcx, rbx
call fcn.1400803a0
mov edi, 1
mov dword [rsp + 0x88], edi
jmp 0x140089357
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x158]
mov rcx, r14
lea edx, [r8 + 0xe]
call fcn.140056030
jmp 0x140089357
mov eax, 2
mov edi, eax
movzx eax, word [r15 + 0x3c]
mov r8, qword [r15]
test ax, ax
js 0x14008932b
mov r9, qword [r15 + 8]
lea rdx, str._s._s
movsx rax, ax
lea rcx, [rax + rax*2]
add rcx, rcx
mov r9, qword [r9 + rcx*8]
mov rcx, qword [rbx]
call fcn.140037e60
mov edx, 0x613
jmp 0x14008933f
mov rcx, qword [rbx]
lea rdx, str._s.rowid
call fcn.140037e60
mov edx, 0xa13
mov byte [rsp + 0x28], 2
mov r9, rax
mov r8d, edi
mov byte [rsp + 0x20], 0xff
mov rcx, rbx
call fcn.14007d630
mov r8, qword [r14 + 0x30]
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140089373
mov eax, dword [r14 + 0x3c]
not esi
movsxd rcx, esi
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
test r13d, r13d
je 0x1400893e2
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0xe]
call fcn.140056030
mov edx, dword [r14 + 0x3c]
mov rcx, qword [r14 + 0x30]
dec edx
mov dword [rsp + 0x98], eax
mov dword [rcx + 0x64], edx
mov edx, r13d
mov r8d, dword [r14 + 0x3c]
test r13d, r13d
jns 0x1400893bd
lea edx, [r8 - 1]
mov rcx, qword [r14]
cmp byte [rcx + 0x51], 0
je 0x1400893cf
lea rax, [0x140330198]
jmp 0x1400893de
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov r13, qword [r15 + 0x10]
xor r11d, r11d
mov dword [rsp + 0x70], r11d
mov edi, r11d
mov qword [rsp + 0xb8], r13
test r13, r13
je 0x140089eb1
mov rax, qword [rsp + 0x120]
mov esi, r11d
mov qword [rsp + 0xa8], r11
cmp dword [rax + rsi*4], 0
je 0x140089e7c
cmp byte [rsp + 0x60], 0
jne 0x14008943b
lea r8d, [r12 + 1]
mov rdx, r15
mov rcx, r14
call fcn.140086df0
mov byte [rsp + 0x60], 1
mov r15d, dword [rsp + 0x130]
add r15d, edi
mov rdi, qword [r14 + 0x30]
mov dword [rsp + 0x7c], r15d
movsxd rbp, dword [rdi + 0x78]
lea eax, [rbp + 1]
mov dword [rdi + 0x78], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x140089484
mov rdx, qword [rdi + 0x80]
lea eax, [rbp*2 + 1]
mov rcx, qword [rdi]
movsxd r8, eax
shl r8, 2
call fcn.140036300
mov qword [rdi + 0x80], rax
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x140089496
or edx, 0xffffffff
mov dword [rcx + rbp*4], edx
cmp qword [r13 + 0x48], 0
not ebp
mov dword [rsp + 0x68], ebp
je 0x140089510
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rax, qword [rsp + 0x120]
lea edx, [r8 + 0x1a]
mov r9d, dword [rax + rsi*4]
call fcn.140056030
mov rdi, qword [rbx]
lea eax, [r12 + 1]
mov dword [rbx + 0x68], eax
xor r9d, r9d
mov rdx, qword [r13 + 0x48]
xor r8d, r8d
mov rcx, rdi
call fcn.14006c790
cmp byte [rdi + 0x51], 0
mov rsi, rax
jne 0x1400894fe
mov r9d, reloc.WS2_32.dll_recv
mov r8d, ebp
mov rdx, rax
mov rcx, rbx
call fcn.140071340
mov rdx, rsi
mov rcx, rdi
call fcn.14006c560
xor ebp, ebp
mov dword [rbx + 0x68], ebp
jmp 0x140089512
xor ebp, ebp
movzx ecx, word [r13 + 0x60]
mov edx, dword [rbx + 0x44]
mov r12d, dword [rbx + 0x48]
mov dword [rsp + 0x64], r12d
cmp ecx, edx
jg 0x140089535
lea eax, [rcx + r12]
sub edx, ecx
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], edx
jmp 0x140089546
mov eax, dword [rbx + 0x54]
lea r12d, [rax + 1]
add eax, ecx
mov dword [rbx + 0x54], eax
mov dword [rsp + 0x64], r12d
cmp bp, word [r13 + 0x60]
jae 0x140089661
mov edi, r12d
mov r15, rbp
neg r12d
mov rsi, rbp
nop dword [rax]
mov rax, qword [r13 + 8]
movsx ecx, word [rax + rsi]
cmp ecx, 0xfffffffe
jne 0x1400895e1
mov eax, dword [rsp + 0x138]
inc eax
mov dword [rbx + 0x68], eax
mov rax, qword [r13 + 0x50]
mov rcx, qword [rax + 8]
mov rdx, qword [r15 + rcx]
test rdx, rdx
je 0x1400895b0
cmp byte [rdx], 0x9f
jne 0x1400895b0
mov r8d, dword [rdx + 0x2c]
mov r9d, edi
mov rcx, qword [rbx + 0x10]
mov edx, Ordinal_33
mov dword [rsp + 0x20], ebp
call fcn.140056030
mov dword [rbx + 0x68], ebp
jmp 0x140089641
mov r8d, edi
mov rcx, rbx
call fcn.14006f600
cmp eax, edi
je 0x1400895dc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400895dc
mov r8d, eax
mov dword [rsp + 0x20], ebp
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov r9d, edi
call fcn.140056030
mov dword [rbx + 0x68], ebp
jmp 0x140089641
cmp ecx, 0xffffffff
je 0x140089606
mov rax, qword [rsp + 0x118]
movsx eax, word [rax + 0x3c]
cmp ecx, eax
je 0x140089606
mov r8d, dword [rsp + 0x138]
inc r8d
add r8d, ecx
jmp 0x14008962d
cmp dword [rsp + 0x8c], edi
je 0x140089641
cmp qword [r13 + 0x48], 0
mov eax, edi
mov r8d, dword [rsp + 0x138]
mov ecx, 0xffffffff
cmovne eax, ecx
mov dword [rsp + 0x8c], eax
mov r9d, edi
mov dword [rsp + 0x20], ebp
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, r14
call fcn.140056030
movzx eax, word [r13 + 0x60]
inc edi
add rsi, 2
add r15, 0x28
lea ecx, [r12 + rdi]
cmp ecx, eax
jl 0x140089560
mov r15d, dword [rsp + 0x7c]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x120]
movsxd rdi, dword [r14 + 0x3c]
movzx ebp, word [r13 + 0x60]
mov esi, dword [rcx + rax*4]
mov rax, qword [r14 + 0x30]
cmp dword [rax + 0x60], edi
jg 0x140089692
mov rcx, r14
call fcn.140055f80
test eax, eax
jne 0x1400896c3
inc dword [r14 + 0x3c]
lea rcx, [rdi + rdi*2]
mov rax, qword [r14 + 8]
xor r11d, r11d
mov edi, dword [rsp + 0x64]
mov word [rax + rcx*8], gethostbyname
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r11
jmp 0x1400896ca
mov edi, dword [rsp + 0x64]
xor r11d, r11d
movzx eax, word [r13 + 0x60]
lea r9d, [rdi - 1]
add r9d, eax
lea rcx, [rbx + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, edi
jl 0x14008970d
cmp edx, r9d
jg 0x14008970d
cmp byte [rcx - 6], 0
je 0x14008970a
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140089706
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
sub r8, 1
jne 0x1400896e3
mov r12, qword [rsp + 0x80]
cmp dword [rsp + 0x140], r8d
je 0x14008976f
cmp r12, r13
jne 0x14008976f
cmp byte [rsp + 0x148], r8b
jne 0x14008976f
mov r8, qword [r14 + 0x30]
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140089758
mov eax, dword [rsp + 0x68]
not eax
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
mov r15, qword [rsp + 0x118]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x140089e74
movzx ebp, byte [r13 + 0x62]
test ebp, ebp
jne 0x14008980f
movzx r10d, word [r13 + 0x60]
lea r9d, [rdi - 1]
add r9d, r10d
lea rcx, [rbx + 0x94]
lea r8d, [rbp + 0xa]
mov edx, dword [rcx]
cmp edx, edi
jl 0x1400897bd
cmp edx, r9d
jg 0x1400897bd
cmp byte [rcx - 6], 0
je 0x1400897ba
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400897b6
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
sub r8, 1
jne 0x140089793
cmp r10d, dword [rbx + 0x44]
jle 0x1400897d4
mov dword [rbx + 0x44], r10d
mov dword [rbx + 0x48], edi
mov r8, qword [r14 + 0x30]
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140089758
mov eax, dword [rsp + 0x68]
mov r15, qword [rsp + 0x118]
not eax
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x140089e74
movzx eax, byte [rsp + 0x150]
cmp al, 0xa
je 0x140089820
movzx ebp, al
jmp 0x14008982b
cmp ebp, 0xa
mov eax, 2
cmove ebp, eax
mov r9d, dword [rsp + 0x68]
mov r8d, r15d
movzx esi, word [r13 + 0x5e]
mov edx, 0x44
mov rcx, r14
mov dword [rsp + 0x94], ebp
mov dword [rsp + 0x20], edi
call fcn.140056030
mov r8, qword [r14 + 8]
mov rcx, qword [r14]
test r8, r8
je 0x140089899
cmp byte [rcx + 0x51], 0
jne 0x140089899
test eax, eax
jns 0x14008986c
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140056780
xor r8d, r8d
mov byte [rdi + 1], 0xf2
mov qword [rdi + 0x10], r8
mov dword [rdi + 0x10], esi
mov edi, dword [rsp + 0x64]
jmp 0x1400898a9
mov r8, rsi
mov edx, 0xfffffff2
call fcn.140056780
xor r8d, r8d
cmp r13, r12
jne 0x1400898b7
mov r12d, edi
mov dword [rsp + 0x78], edi
jmp 0x1400898ea
mov ecx, dword [rbx + 0x44]
mov edx, dword [rsp + 0x74]
mov r12d, dword [rbx + 0x48]
mov dword [rsp + 0x78], r12d
cmp edx, ecx
jg 0x1400898d9
lea eax, [r12 + rdx]
sub ecx, edx
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x44], ecx
jmp 0x1400898ea
mov eax, dword [rbx + 0x54]
lea r12d, [rax + 1]
add eax, edx
mov dword [rbx + 0x54], eax
mov dword [rsp + 0x78], r12d
mov edi, dword [rsp + 0x140]
test edi, edi
jne 0x1400898fe
cmp ebp, 5
jne 0x1400899ac
mov rax, qword [rsp + 0x118]
test byte [rax + 0x46], 0x20
jne 0x140089a07
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, r15d
mov edx, WSACleanup
mov rcx, r14
call fcn.140056030
test edi, edi
je 0x1400899ac
mov rax, qword [r14 + 0x30]
movsxd rdi, dword [r14 + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140089949
mov rcx, r14
call fcn.140055f80
test eax, eax
jne 0x140089981
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
inc dword [r14 + 0x3c]
mov edx, dword [rsp + 0x68]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x140]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 0x10], 0
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x51], 0
je 0x140089999
lea rax, [0x140330198]
jmp 0x1400899a8
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov byte [rax + 3], 0x90
mov esi, dword [rsp + 0x64]
mov ebp, dword [rsp + 0x68]
mov edx, dword [rsp + 0x94]
test edx, edx
je 0x140089cb3
cmp edx, 3
jbe 0x140089c92
cmp edx, 4
jne 0x140089cb3
mov r9d, dword [rsp + 0x158]
xor eax, eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, r14
lea edx, [rax + 0xe]
call fcn.140056030
mov edi, dword [rsp + 0x78]
mov r15, qword [rsp + 0x118]
mov r12d, dword [rsp + 0x74]
jmp 0x140089d92
mov r15, qword [rsp + 0x80]
cmp r13, r15
je 0x140089ae5
mov ebp, r8d
cmp r8w, word [r15 + 0x5e]
jae 0x140089ae5
mov ebx, dword [rsp + 0x7c]
mov r15, r8
nop dword [rax]
movzx edx, word [r13 + 0x60]
mov ecx, r8d
test edx, edx
jle 0x140089a61
mov rax, qword [rsp + 0x80]
mov r8, qword [r13 + 8]
mov rax, qword [rax + 8]
movzx r9d, word [r15 + rax]
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x140089a64
inc ecx
cmp ecx, edx
jl 0x140089a51
or ecx, 0xffffffff
mov rax, qword [r14 + 0x30]
movsxd rdi, dword [r14 + 0x3c]
movsx esi, cx
cmp dword [rax + 0x60], edi
jg 0x140089a80
mov rcx, r14
call fcn.140055f80
test eax, eax
jne 0x140089ab1
mov rax, qword [r14 + 8]
lea rcx, [rdi + rdi*2]
inc dword [r14 + 0x3c]
xor r8d, r8d
mov word [rax + rcx*8], gethostbyname
mov byte [rax + rcx*8 + 3], 0
lea rdx, [rax + rcx*8]
lea eax, [r12 + rbp]
mov dword [rdx + 4], ebx
mov dword [rdx + 0xc], eax
mov dword [rdx + 8], esi
mov qword [rdx + 0x10], r8
jmp 0x140089ab4
xor r8d, r8d
mov rax, qword [rsp + 0x80]
inc ebp
add r15, 2
movzx eax, word [rax + 0x5e]
cmp ebp, eax
jl 0x140089a30
mov rbx, qword [rsp + 0x110]
mov r15, qword [rsp + 0x80]
mov edi, dword [rsp + 0x140]
mov esi, dword [rsp + 0x64]
test edi, edi
je 0x1400899b0
movzx ecx, word [r15 + 0x5e]
mov edx, r12d
mov eax, dword [r14 + 0x3c]
mov r12d, r8d
add eax, ecx
mov dword [rsp + 0x7c], Ordinal_79
mov dword [rsp + 0x90], eax
mov eax, dword [r13 + 0x64]
and al, 3
cmp al, 2
cmove edx, esi
mov dword [rsp + 0x9c], edx
test ecx, ecx
je 0x1400899b0
mov qword [rsp + 0xb0], r8
mov r13, r8
nop word [rax + rax]
mov rax, qword [r15 + 0x40]
mov rdi, qword [rbx]
mov rbp, qword [rax + r13]
movzx r15d, byte [rdi + 0x4e]
movzx esi, byte [rdi + 0xa1]
test rbp, rbp
je 0x140089b70
movzx r8d, sil
mov rdx, rbp
mov rcx, rdi
call fcn.14007e5a0
mov rdi, rax
jmp 0x140089b74
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x140089b89
movzx eax, r15b
dec eax
cdqe
lea rcx, [rax + rax*4]
lea rdi, [rdi + rcx*8]
test sil, sil
jne 0x140089baf
test rdi, rdi
je 0x140089b9a
cmp qword [rdi + 0x18], 0
jne 0x140089baf
mov r9, rbp
mov r8, rdi
movzx edx, r15b
mov rcx, rbx
call fcn.14007e4a0
mov rdi, rax
mov r10d, dword [rsp + 0x7c]
mov eax, reloc.WLDAP32.dll_Ordinal_79
mov r15, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb0]
mov ebp, dword [rsp + 0x68]
mov rcx, qword [r15 + 8]
movzx edx, word [r15 + 0x5e]
dec edx
cmp r12d, edx
mov edx, dword [rsp + 0x140]
movsx r8d, word [rsi + rcx]
mov ecx, ebp
cmovne ecx, dword [rsp + 0x90]
cmove r10d, eax
mov eax, dword [rsp + 0x9c]
inc edx
add r8d, edx
mov dword [rsp + 0x90], ecx
add eax, r12d
mov dword [rsp + 0x7c], r10d
mov r9d, ecx
mov dword [rsp + 0x20], eax
mov edx, r10d
mov rcx, r14
call fcn.140056030
mov r9d, 0xfffffffc
mov r8, rdi
mov edx, eax
mov rcx, r14
call fcn.140056aa0
mov rax, qword [r14]
mov ecx, dword [r14 + 0x3c]
dec ecx
cmp byte [rax + 0x51], 0
je 0x140089c4d
lea rax, [0x140330198]
jmp 0x140089c5c
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
add rsi, 2
mov byte [rax + 3], 0x90
movzx eax, word [r15 + 0x5e]
inc r12d
add r13, 8
mov qword [rsp + 0xb0], rsi
cmp r12d, eax
jl 0x140089b40
mov r13, qword [rsp + 0xb8]
mov esi, dword [rsp + 0x64]
jmp 0x1400899b4
mov r8, r13
mov rcx, rbx
call fcn.14007d6f0
mov edi, dword [rsp + 0x78]
mov r15, qword [rsp + 0x118]
mov r12d, dword [rsp + 0x74]
jmp 0x140089d92
mov rax, qword [rbx + 0x1c0]
xor r10d, r10d
test rax, rax
mov rcx, rbx
mov r8d, r10d
cmovne rcx, rax
mov rax, qword [rsp + 0xa0]
mov byte [rcx + 0x20], 1
test dword [rax + 0x2c], 0x40000
je 0x140089d2e
mov rax, qword [rbx]
mov edi, r10d
mov r9d, r10d
test dword [rax + 0x2c], 0x800000
je 0x140089d07
mov rdx, qword [rsp + 0x118]
mov rcx, rbx
call fcn.14009b350
mov r9, rax
xor r10d, r10d
mov rdx, r9
test r9, r9
je 0x140089d25
nop
cmp byte [rdx + 0x10], 0x6d
jne 0x140089d1c
movzx ecx, byte [rdx + 0x11]
or edi, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x140089d10
test edi, edi
mov r8, r10
cmovne r8, r9
cmp r13, qword [rsp + 0x80]
mov r12d, dword [rsp + 0x74]
mov r15, qword [rsp + 0x118]
sete al
mov edi, dword [rsp + 0x78]
or ecx, 0xffffffff
mov r9d, dword [rsp + 0x128]
mov rdx, r15
mov dword [rsp + 0x50], ecx
mov rcx, rbx
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x130]
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], r12w
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.14007ff00
mov dword [rsp + 0x88], 1
mov r8, qword [r14 + 0x30]
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x140089dae
mov eax, dword [r14 + 0x3c]
not ebp
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
lea r9d, [rsi - 1]
dec eax
lea rcx, [rbx + 0x94]
mov dword [r8 + 0x64], eax
mov r8d, 0xa
movzx r10d, word [r13 + 0x60]
add r9d, r10d
mov edx, dword [rcx]
cmp edx, esi
jl 0x140089e00
cmp edx, r9d
jg 0x140089e00
cmp byte [rcx - 6], 0
je 0x140089df8
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140089df4
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
xor r11d, r11d
mov dword [rcx], r11d
jmp 0x140089e03
xor r11d, r11d
add rcx, 0x14
sub r8, 1
jne 0x140089dd1
cmp r10d, dword [rbx + 0x44]
jle 0x140089e1a
mov dword [rbx + 0x44], r10d
mov dword [rbx + 0x48], esi
cmp edi, esi
je 0x140089e74
lea r9d, [r12 - 1]
mov r8d, 0xa
add r9d, edi
lea rcx, [rbx + 0x94]
mov edx, dword [rcx]
cmp edx, edi
jl 0x140089e5d
cmp edx, r9d
jg 0x140089e5d
cmp byte [rcx - 6], 0
je 0x140089e5a
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140089e56
movzx eax, al
mov dword [rbx + rax*4 + 0x24], edx
inc byte [rbx + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
sub r8, 1
jne 0x140089e33
cmp r12d, dword [rbx + 0x44]
jle 0x140089e74
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], edi
mov rax, qword [rsp + 0x120]
mov r13, qword [r13 + 0x28]
inc dword [rsp + 0x70]
inc qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x138]
mov rsi, qword [rsp + 0xa8]
mov edi, dword [rsp + 0x70]
mov qword [rsp + 0xb8], r13
test r13, r13
jne 0x140089415
mov eax, dword [rsp + 0x6c]
mov r15, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
mov r12, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
test eax, eax
je 0x140089f4c
xor r8d, r8d
mov dword [rsp + 0x20], r11d
lea r9d, [rax + 1]
mov rcx, r14
lea edx, [r8 + 0xe]
call fcn.140056030
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov ecx, dword [rsp + 0x98]
mov edx, dword [r14 + 0x3c]
test ecx, ecx
jns 0x140089f28
lea ecx, [rdx - 1]
mov rax, qword [r14]
cmp byte [rax + 0x51], 0
je 0x140089f3a
lea rax, [0x140330198]
jmp 0x140089f49
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x88]
mov dword [rax], ecx
add rsp, 0x100
pop r14
ret