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

Disassembly:
cmp dword [rsi + 4], 0
mov ebx, r10d
jbe 0x180009c80
mov eax, ebx
shl rax, 6
test dword [rax + rsi + 0x48], 0x20000
jne 0x1800089fa
lea r9, [rax + 0x20]
mov r8, rdi
mov rdx, r14
add r9, rsi
mov rcx, r12
call fcn.180012bfc
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x1800089fa
inc r15d
inc ebx
cmp ebx, dword [rsi + 4]
jb 0x1800089ca
jmp 0x180009c80
mov eax, dword [rdi + 0x34]
cmp eax, 0x17
je 0x180009c80
add eax, 0xffffff0d
cmp eax, 1
ja 0x180012b49
mov eax, dword [rsp + 0x70]
inc ebp
mov r10d, 0
cmp ebp, dword [r14 + 0x44]
jb 0x180012b01
test eax, eax
jne 0x180040066
mov ebx, dword [rsp + 0x78]
jmp 0x180012bad
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov edi, r9d
mov eax, r8d
mov r14, rdx
mov r12, rcx
xor r10d, r10d
cmp byte [r12 + 0x255], 0
mov ebx, 0x5b4
mov r13d, 3
lea rdx, [0x18008a130]
mov r15d, r10d
mov dword [rsp + 0x70], r10d
cmovne r13d, r10d
mov dword [rsp + 0x78], ebx
mov rcx, qword [0x18008a130]
cmp rcx, rdx
je 0x180012a6d
test dword [rcx + 0x1c], 0x100
jne 0x18003ffc8
test dword [r14 + 0x3c], 0x10000
je 0x180027bab
test edi, edi
jne 0x1800248a9
cmp dword [r14 + 0x44], 0
mov r9d, r10d
jbe 0x180012af3
mov eax, r9d
imul r8, rax, 0x88
add r8, r14
test dword [r8 + 0xa4], 0x10000000
jne 0x180012aea
mov rdx, qword [r8 + 0x88]
and dword [r8 + 0xac], 0xfffffff0
test rdx, rdx
je 0x180012aea
cmp dword [rdx + 4], 0
mov eax, r10d
jbe 0x180012aea
test dword [r8 + 0xac], 0x20000
jne 0x180040018
mov ecx, eax
shl rcx, 6
and dword [rcx + rdx + 0x48], 0xfff0ffff
inc eax
cmp eax, dword [rdx + 4]
jb 0x180012ac4
inc r9d
cmp r9d, dword [r14 + 0x44]
jb 0x180012a8d
cmp dword [r14 + 0x44], 0
mov ebp, r10d
jbe 0x180012bad
mov eax, ebp
lea rdi, [r14 + 0x68]
imul rcx, rax, 0x88
add rdi, rcx
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x180009c80
mov edx, dword [rdi + 0x44]
test edx, 0x10001000
jne 0x180009c80
mov ecx, dword [rdi + 0x3c]
bt ecx, 0x1c
jb 0x180009c80
cmp byte [r12 + 0x255], 0
jne 0x180009c6a
test ecx, 0x6000000
jne 0x180040031
mov ebx, dword [rsp + 0x80]
cmp ebx, r13d
jae 0x1800089bd
mov rcx, rdi
call fcn.18001583c
test rax, rax
je 0x180009c80
mov r9, rax
mov r8, rdi
mov rdx, r14
mov rcx, r12
call fcn.180012bfc
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x180012b65
inc r15d
test ebx, ebx
jne 0x180009c80
cmp byte [r12 + 0x255], bl
jne 0x180009c80
mov ebx, eax
jmp 0x180012bad
mov rax, qword [rsp + 0x90]
mov dword [rax], r15d
mov rcx, qword [0x18008a130]
lea rax, [0x18008a130]
cmp rcx, rax
je 0x180012bd8
test dword [rcx + 0x1c], 0x100
jne 0x180040087
test r15d, r15d
je 0x180024604
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test ebx, ebx
je 0x18003d1c4
mov eax, ebx
jmp 0x180012be3
test eax, eax
je 0x180012a83
cmp eax, r13d
jae 0x180012a83
mov edx, edi
mov rcx, r14
call fcn.1800248d4
xor r10d, r10d
jmp 0x180012a83
cmp rcx, rdx
je 0x180027bbd
test dword [rcx + 0x1c], 0x100
jne 0x18003fffd
mov edx, 0xf0000000
mov rcx, r14
call sym.DNSAPI.dll_NetInfo_Clean
mov eax, dword [rsp + 0x80]
xor r10d, r10d
jmp 0x180012a7b
mov ebx, 0x5b4
mov eax, ebx
jmp 0x180012be3
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov edx, 0x1d
mov r9d, eax
call fcn.180058fb0
mov rcx, qword [0x18008a130]
mov eax, dword [rsp + 0x80]
xor r10d, r10d
lea rdx, [0x18008a130]
jmp 0x180012a6d
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov edx, 0x1e
call fcn.180058818
nop
jmp 0x180027bbd
mov ecx, eax
shl rcx, 6
test dword [rcx + rdx + 0x48], 0x20000
jne 0x180012ae3
jmp 0x180012ad5
test dword [r14 + 0x3c], 0x100
jne 0x180009c80
mov ebx, dword [rsp + 0x80]
test ebx, ebx
jne 0x180012b5c
bt edx, 0x11
jb 0x180012b5c
mov eax, 1
mov dword [rsp + 0x70], eax
jmp 0x180009c84
test r15d, r15d
jne 0x180009c9e
mov edi, dword [rsp + 0x88]
mov eax, 1
mov dword [rsp + 0x80], eax
jmp 0x180012a29
mov rcx, qword [rcx + 0x10]
lea r8, [0x180021620]
mov edx, 0x20
mov r9d, r15d
call fcn.180058fb0
nop
jmp 0x180012bd8