Function at 0x1800574d0
Capabilities:
Get disk information
Get hostname
Resolve dns

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1598
call fcn.180012ac0
sub rsp, rax
mov rax, qword [0x180135070]
xor rax, rsp
mov qword [rsp + 0x1588], rax
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x15a8], 0
jne 0x18005751c
mov eax, 0xffffffff
jmp 0x180057dd3
mov edx, WSAStartup
mov rcx, qword [rsp + 0x15a0]
call fcn.180024600
mov rcx, qword [rsp + 0x15a8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x15a8]
cmp qword [rax], 0
jne 0x180057551
mov eax, 0xffffffff
jmp 0x180057dd3
mov rax, qword [rsp + 0x15a8]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x15b0]
mov dword [rsp + 0x1580], eax
mov eax, dword [rsp + 0x1580]
dec eax
mov dword [rsp + 0x1580], eax
cmp dword [rsp + 0x1580], 0x11
ja case.0x1800575a6.7
movsxd rax, dword [rsp + 0x1580]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x57dec]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 1
call fcn.1800230f0
movsx eax, al
mov r8d, eax
lea rdx, str._c:_
lea rcx, [rsp + 0xd8]
call fcn.1800f9dc0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x180057637
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 0
mov eax, 0xffffffff
jmp 0x180057dd3
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xd0]
mov dword [rax + 0x28], ecx
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x15a0]
call fcn.180057e40
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x15a0]
call fcn.1800581e0
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 4
mov rax, qword [rsp + 0x15a0]
movsx eax, byte [rax + 0x40]
test eax, eax
je 0x1800576c1
mov rax, qword [rsp + 0x15a0]
add rax, 0x40
mov rcx, qword [rsp + 0x58]
add rcx, 0x28
mov r8d, 0x40
mov rdx, rax
call fcn.180023830
jmp 0x1800576d7
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov edx, 0x41
mov rcx, rax
call fcn.180022a10
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], reloc.WSOCK32.dll_select
mov rax, qword [rsp + 0x15a0]
add rax, 0xa2
mov rcx, qword [rsp + 0x58]
add rcx, 0x28
mov r8d, 0x40
mov rdx, rax
call fcn.180023830
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 5
mov rax, qword [rsp + 0x15a0]
movsx eax, byte [rax + 0x61]
test eax, eax
je 0x180057753
mov rax, qword [rsp + 0x15a0]
add rax, 0x61
mov rcx, qword [rsp + 0x58]
add rcx, 0x28
mov r8d, 0x40
mov rdx, rax
call fcn.180023830
jmp 0x18005776a
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov edx, 0x40
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_gethostname]
jmp 0x180057db2
mov byte [rsp + 0x70], 0
mov edx, 0x40
lea rcx, [rsp + 0x70]
call qword [sym.imp.WSOCK32.dll_gethostname]
movsx eax, byte [rsp + 0x70]
test eax, eax
je 0x1800577ba
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov qword [rsp + 0x48], rax
call fcn.180008f50
mov rcx, qword [rsp + 0x15a0]
mov eax, dword [rax]
mov dword [rcx + 0x1a0], eax
cmp qword [rsp + 0x48], 0
je 0x1800578e2
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x12]
mov dword [rsp + 0xe8], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x64], 0
jne 0x1800577f8
mov dword [rsp + 0x1584], 1
jmp 0x180057803
mov dword [rsp + 0x1584], 0
mov eax, dword [rsp + 0x1584]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x15a0]
call fcn.1800583e0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180057863
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800578d4
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
movsx eax, byte [rax]
cmp eax, 0x7f
je 0x1800578c4
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x15a0]
call fcn.1800583e0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800578c4
jmp 0x1800578d4
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x40], rax
jmp 0x180057863
mov qword [rsp + 0x48], 0
jmp 0x1800577ba
cmp dword [rsp + 0x64], 0
jne 0x180057901
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x28], 0
jmp 0x180057db2
mov rax, qword [rsp + 0x15a0]
cmp qword [rax + 0xaa0], 0
je 0x180057935
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x15a0]
mov rax, qword [rsp + 0x15a0]
call qword [rax + 0xaa0]
jmp 0x180057941
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
jmp 0x180057db2
mov rax, qword [rsp + 0x15a0]
cmp qword [rax + 0xaa8], 0
je 0x180057975
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x15a0]
mov rax, qword [rsp + 0x15a0]
call qword [rax + 0xaa8]
jmp 0x180057981
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 0xa
mov rax, qword [rsp + 0x58]
add rax, 0x28
lea rdx, [0x18015ba50]
mov rcx, rax
call fcn.1800f9f10
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 2
mov rax, qword [rsp + 0x58]
add rax, 0x28
lea rdx, [0x18015ba51]
mov rcx, rax
call fcn.1800f9f10
jmp 0x180057db2
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x15a0]
call fcn.180058710
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x180057a41
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
cmp dword [rsp + 0xf8], 1
jne 0x180057a41
mov rax, qword [rsp + 0x15a0]
mov eax, dword [rax + 0x180]
or eax, 2
mov rcx, qword [rsp + 0x15a0]
mov dword [rcx + 0x180], eax
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 9
mov rax, qword [rsp + 0x15a0]
mov rax, qword [rax + 0xad8]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x180057db2
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x15b0]
cmp dword [rax + 0x14], ecx
jne 0x180057d9a
mov dword [rsp + 0x1570], 0
mov r8d, 0x13d0
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.18000abd0
mov r8d, 0x81
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.18000abd0
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x110]
mov rax, qword [rsp + 0xc8]
call qword [rax + 0x20]
test eax, eax
jne 0x180057be5
lea rcx, [rsp + 0x110]
call fcn.18000acf0
cmp rax, 0x40
jbe 0x180057b00
jmp 0x180057db2
lea rax, [rsp + 0x110]
mov qword [rsp + 0x100], rax
jmp 0x180057b25
mov rax, qword [rsp + 0x100]
inc rax
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
test eax, eax
je 0x180057b70
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
and eax, 0xff
mov ecx, eax
call fcn.180012204
test eax, eax
je 0x180057b51
jmp 0x180057b70
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
and eax, 0xff
mov ecx, eax
call fcn.180012184
test eax, eax
jne 0x180057b6e
jmp 0x180057b70
jmp 0x180057b12
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
test eax, eax
je 0x180057b84
jmp 0x180057db2
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov r8d, 0x40
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.180023830
mov dword [rsp + 0x1570], 1
cmp dword [rsp + 0x1570], 0
je 0x180057d98
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x28], 0
je 0x180057d98
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x110]
mov rax, qword [rsp + 0xc8]
call qword [rax + 0x28]
test eax, eax
jne 0x180057d98
mov edx, WSAStartup
mov rcx, qword [rsp + 0x15a0]
call fcn.180024600
mov qword [rsp + 0x1578], rax
cmp qword [rsp + 0x1578], 0
jne 0x180057c77
mov rax, qword [rsp + 0x15a0]
mov dword [rax + 0x184], 0xffffff92
mov rax, qword [rsp + 0x15a0]
mov dword [rax + 0x1a0], 0
jmp 0x180057d98
lea rcx, [rsp + 0x110]
call fcn.18000acf0
cmp rax, 0x40
jbe 0x180057c8f
jmp 0x180057c06
lea rax, [rsp + 0x110]
mov qword [rsp + 0x100], rax
jmp 0x180057cb4
mov rax, qword [rsp + 0x100]
inc rax
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
test eax, eax
je 0x180057cff
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
and eax, 0xff
mov ecx, eax
call fcn.180012204
test eax, eax
je 0x180057ce0
jmp 0x180057cff
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
and eax, 0xff
mov ecx, eax
call fcn.180012184
test eax, eax
jne 0x180057cfd
jmp 0x180057cff
jmp 0x180057ca1
mov rax, qword [rsp + 0x100]
movsx eax, byte [rax]
test eax, eax
je 0x180057d13
jmp 0x180057c06
mov rax, qword [rsp + 0x1578]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x1578]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x1578]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x1578]
add rax, 0x28
mov r8d, 0x40
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.180023830
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1578]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x1578]
mov qword [rsp + 0x58], rax
jmp 0x180057c06
jmp 0x180057db2
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
jmp 0x180057a69
cmp dword [rsp + 0x15b0], 3
jne 0x180057dd1
mov rcx, qword [rsp + 0x58]
call fcn.180058340
mov rcx, qword [rsp + 0x15a8]
mov qword [rcx], rax
xor eax, eax
mov rcx, qword [rsp + 0x1588]
xor rcx, rsp
call fcn.180005860
add rsp, 0x1598
ret