Function at 0x425420
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov r12, qword [rsp + 0x1a8]
test rdx, rdx
mov rbp, rcx
mov rbx, rdx
mov r13, r8
mov rsi, r9
je 0x42580e
test r9, r9
jne 0x425469
cmp qword [rsp + 0x1a0], 0
mov eax, 0xfffff019
je 0x4256c8
test rsi, rsi
mov dword [rbx + 8], 8
mov qword [rbx + 0x40], 0
mov qword [rbx + 0xa0], r13
mov qword [rbx + 0xc8], 0
mov qword [rbx + 0x70], rbp
mov dword [rbx + 0xd0], 0
je 0x425710
mov rcx, rsi
lea r14, [rsp + 0x30]
call sub.msvcrt.dll_strlen
lea r9, [rsp + 0x130]
lea rdx, [rsi + rax]
mov r8, r14
mov rcx, rsi
call fcn.0043fc20
test eax, eax
js 0x4256c8
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, r14
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cdqe
mov rsi, r14
lea rax, [rax + rax + 3]
and rax, 0xfffffffffffffffc
test eax, eax
movsxd r15, eax
je 0x4256e0
cmp qword [rsp + 0x1a0], 0
je 0x425722
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x1a0]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cdqe
lea rax, [rax + rax + 3]
and rax, 0xfffffffffffffffc
test eax, eax
movsxd r14, eax
je 0x4256e0
cmp r12, 1
lea ecx, [r15 + r14]
sbb eax, eax
not eax
and eax, 0x30
add ecx, eax
movsxd rcx, ecx
call fcn.004109f0
test rax, rax
mov rdi, rax
je 0x425750
test rsi, rsi
mov qword [rbx + 0xa8], rax
je 0x425730
mov qword [rbx + 0xb0], rax
mov rax, r15
mov qword [rsp + 0x20], rdi
shr rax, 1
xor edx, edx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], eax
mov r8, rsi
mov ecx, 0xfde9
add rdi, r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4256e0
cmp qword [rsp + 0x1a0], 0
je 0x425740
mov rax, r14
mov qword [rbx + 0xb8], rdi
mov qword [rsp + 0x20], rdi
shr rax, 1
xor edx, edx
mov r9d, 0xffffffff
mov dword [rsp + 0x28], eax
mov r8, qword [rsp + 0x1a0]
mov ecx, 0xfde9
add rdi, r14
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4256e0
test r12, r12
je 0x425760
mov qword [rbx + 0xc0], rdi
mov eax, dword [r12 + 4]
mov dword [rdi + 4], eax
mov rax, qword [rbx + 0xc0]
mov edx, dword [r12 + 8]
mov dword [rax + 8], edx
mov rax, qword [rbx + 0xc0]
mov edx, dword [r12 + 0xc]
mov dword [rax + 0xc], edx
mov rax, qword [rbx + 0xc0]
mov edx, dword [r12]
mov dword [rax], edx
mov rax, qword [rbx + 0xc0]
mov qword [rax + 0x10], 0
mov rax, qword [rbx + 0xc0]
mov qword [rax + 0x18], 0
mov rax, qword [rbx + 0xc0]
mov qword [rax + 0x20], 0
mov rax, qword [rbx + 0xc0]
mov qword [rax + 0x28], 0
add dword [rbp + 0x20], 1
test r13, r13
je 0x425770
lea rax, [fcn.00424f90]
lea rdx, [rbx + 0x78]
lea r9, [0x00425250]
mov r8d, 2
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.0040fde0
xor eax, eax
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [rbx + 0xa8]
call fcn.00410a10
mov qword [rbx + 0xa8], 0
mov ecx, esi
call fcn.00416500
jmp 0x4256c8
xor r15d, r15d
cmp qword [rsp + 0x1a0], 0
jne 0x42551c
xor r14d, r14d
jmp 0x42555e
mov qword [rbx + 0xb0], 0
jmp 0x4255ca
mov qword [rbx + 0xb8], 0
jmp 0x425615
mov esi, 0x2747
jmp 0x4256e8
mov qword [rbx + 0xc0], 0
jmp 0x425694
mov r8, qword [rbx + 0xc0]
mov rdx, qword [rbx + 0xb8]
lea r9, [rbx + 0xc0]
mov qword [rbx + 0xc0], 0
mov rcx, qword [rbx + 0xb0]
lea rsi, [rbx + 0x78]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
cmp eax, 0x273f
je 0x425848
jg 0x4257f0
cmp eax, 8
je 0x425841
jle 0x425826
cmp eax, 0x2726
je 0x425833
cmp eax, 0x273c
jne 0x42582a
mov eax, 0xfffff43d
nop dword [rax]
mov dword [rbx + 0xd0], eax
xor edx, edx
mov rcx, rsi
call fcn.00424f90
mov eax, dword [rbx + 0xd0]
jmp 0x4256c8
cmp eax, 0x2af9
je 0x42583a
jle 0x425818
cmp eax, 0x2afa
je 0x42584f
cmp eax, 0x2afb
jne 0x42582a
mov eax, 0xfffff444
jmp 0x4257d0
mov eax, 0xfffff019
jmp 0x4256c8
cmp eax, 0x277d
jne 0x42582a
mov eax, 0xfffff43e
jmp 0x4257d0
test eax, eax
je 0x4257d0
mov ecx, eax
call fcn.00416500
jmp 0x4257d0
mov eax, 0xfffff446
jmp 0x4257d0
mov eax, 0xfffff440
jmp 0x4257d0
mov eax, 0xfffff442
jmp 0x4257d0
mov eax, 0xfffff443
jmp 0x4257d0
mov eax, 0xfffff447
jmp 0x4257d0