Function at 0x10009020
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov rax, rsp
sub rsp, 0x88
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rsi, r8
mov rbx, rdx
mov dword [rax - 0x68], 0
call fcn.1001a410
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x10009084
mov ecx, 0x80004005
call fcn.10001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x1008b82c]
test rdx, 0xffffffffffff0000
jne 0x100090c3
movzx edi, dx
mov ecx, edi
call fcn.1001a3fc
test rax, rax
je 0x100090e1
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.10008320
jmp 0x100090e1
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.100084c0
nop
mov dword [rsp + 0x20], 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x10009303
xor edx, edx
mov qword [rsp + 0x30], rdx
nop
nop
nop
mov rcx, qword [rax + 0x18]
cmp qword [rdx + rcx], 0
je 0x10009303
xor r13d, r13d
xor r12d, r12d
cmp word [rax + 0x12], r12w
jle 0x100092d4
call fcn.1001a410
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x100092f8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
test r12, r12
jle 0x100091f2
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [0x1008b85c]
repne scasb al, byte [rdi]
not rcx
lea r15, [rcx - 1]
lea rbp, [0x1008b85c]
mov rax, qword [rbx]
lea rsi, [0x1008b85c]
sub rsi, rax
mov r14d, dword [rax - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x100091b1
mov edx, edi
mov rcx, rbx
call fcn.100081a0
mov rax, qword [rbx]
mov rcx, r14
cmp rsi, r14
ja 0x100091c0
lea rbp, [rax + rsi]
movsxd rdx, r15d
add rcx, rax
mov r9, rdx
mov r8, rbp
call fcn.10033560
test edi, edi
js 0x100092e2
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x100092e2
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax]
movzx r8d, byte [rcx + r12]
lea rdx, [0x1008b858]
lea rcx, [rsp + 0x38]
call fcn.10008780
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi - 0x10]
mov dword [rsp + 0x24], edx
mov r14, rdi
mov rax, qword [rbx]
mov rbp, rdi
sub rbp, rax
mov r15d, dword [rax - 0x10]
lea esi, [r15 + rdx]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, esi
or eax, ecx
jge 0x10009259
mov edx, esi
mov rcx, rbx
call fcn.100081a0
mov edx, dword [rsp + 0x24]
mov rax, qword [rbx]
mov rcx, r15
cmp rbp, r15
ja 0x10009268
lea r14, [rax + rbp]
movsxd rdx, edx
add rcx, rax
mov r9, rdx
mov r8, r14
call fcn.10033560
test esi, esi
js 0x100092ed
mov rax, qword [rbx]
cmp esi, dword [rax - 0xc]
jg 0x100092ed
mov dword [rax - 0x10], esi
movsxd rcx, esi
mov rax, qword [rbx]
mov byte [rcx + rax], 0
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x100092b0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
add r13d, 1
add r12, 1
mov rax, qword [rsp + 0x28]
movsx eax, word [rax + 0x12]
cmp r13d, eax
jl 0x10009130
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
add rdx, 8
mov qword [rsp + 0x30], rdx
jmp 0x10009110
mov ecx, 0x80070057
call fcn.10001000
int3
mov ecx, 0x80070057
call fcn.10001000
nop
mov ecx, 0x80004005
call fcn.10001000
int3
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
add rsp, 0x88
ret