Function at 0x416750
Capabilities:
Get disk information
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x156c
call fcn.00464c10
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1548], 0
mov dword [ebp - 0x154c], 0
mov dword [ebp - 0x150c], 0
cmp dword [ebp + 0xc], 0
jne 0x416793
or eax, 0xffffffff
jmp 0x4172c2
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.004166d0
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x4167b6
or eax, 0xffffffff
jmp 0x4172c2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x14f4], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1510], edx
mov eax, dword [ebp - 0x1510]
sub eax, 1
mov dword [ebp - 0x1510], eax
cmp dword [ebp - 0x1510], 0x13
ja case.0x4167ec.6
mov ecx, dword [ebp - 0x1510]
jmp dword [ecx*4 + 0x4172d0]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb40]
and eax, 1
je 0x416813
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 1
call fcn.00414760
movsx eax, al
push eax
push str._c:_
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404080
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1538]
push edx
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41687d
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 0x18], 0
or eax, 0xffffffff
jmp 0x4172c2
mov eax, dword [ebp - 0x14f4]
mov ecx, dword [ebp - 0x1538]
mov dword [eax + 0x18], ecx
jmp 0x4172a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb40]
and eax, 4
je 0x4168b1
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 3
mov eax, dword [ebp - 0x14f4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417430
add esp, 8
mov edx, dword [ebp - 0x14f4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417890
add esp, 8
jmp 0x4172a6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb40]
and edx, 8
je 0x416909
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 9
jmp 0x4172a6
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 4
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax + 0x34]
test edx, edx
je 0x416947
push 0x40
mov eax, dword [ebp + 8]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x14f4]
add ecx, 0x18
push ecx
call fcn.0041a010
add esp, 0xc
jmp 0x41695b
push 0x41
mov edx, dword [ebp - 0x14f4]
add edx, 0x18
push edx
call fcn.00413fc0
add esp, 8
jmp 0x4172a6
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 0x12
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x96
push ecx
mov edx, dword [ebp - 0x14f4]
add edx, 0x18
push edx
call fcn.0041a010
add esp, 0xc
jmp 0x4172a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb40]
and ecx, 0x10
je 0x4169b0
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 5
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + edx + 0x55]
test ecx, ecx
je 0x4169ee
push 0x40
mov edx, dword [ebp + 8]
add edx, 0x55
push edx
mov eax, dword [ebp - 0x14f4]
add eax, 0x18
push eax
call fcn.0041a010
add esp, 0xc
jmp 0x416a02
push 0x40
mov ecx, dword [ebp - 0x14f4]
add ecx, 0x18
push ecx
call fcn.00414160
add esp, 8
jmp 0x4172a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb40]
and eax, 0x2000
je 0x416a29
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0x151c], eax
cmp dword [ebp - 0x151c], 0x41
jae 0x416a42
jmp 0x416a47
call fcn.00464b1b
mov ecx, dword [ebp - 0x151c]
mov byte [ebp + ecx - 0x54], 0
push 0x40
lea edx, [ebp - 0x54]
push edx
call fcn.00414160
add esp, 8
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x54]
test edx, edx
je 0x416b82
mov dword [ebp - 0x1514], 1
push 0x20
push 0
lea eax, [ebp - 0x156c]
push eax
call fcn.00465af0
add esp, 0xc
mov dword [ebp - 0x1568], 0x17
lea ecx, [ebp - 0x1524]
push ecx
lea edx, [ebp - 0x156c]
push edx
push 0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x153c], eax
cmp dword [ebp - 0x153c], 0
je 0x416ae4
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 0x18], 0
jmp 0x4172a6
mov eax, dword [ebp - 0x1524]
mov dword [ebp - 0x1508], eax
mov dword [ebp - 0x1514], 1
cmp dword [ebp - 0x1508], 0
je 0x416b75
mov ecx, dword [ebp - 0x1508]
cmp dword [ecx + 4], 0x17
je 0x416b11
jmp 0x416afa
cmp dword [ebp - 0x1514], 0
jne 0x416b26
mov dword [ebp - 0x1520], 1
jmp 0x416b30
mov dword [ebp - 0x1520], 0
mov edx, dword [ebp - 0x1520]
push edx
mov eax, dword [ebp - 0x1508]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x14f4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417a80
add esp, 0x10
mov dword [ebp - 0x14f4], eax
mov ecx, dword [ebp - 0x1508]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1508], edx
mov dword [ebp - 0x1514], 0
jmp 0x416afa
mov eax, dword [ebp - 0x1524]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x4172a6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb40]
and edx, 0x20
je 0x416ba7
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 9
jmp 0x4172a6
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1528], edx
cmp dword [ebp - 0x1528], 0x41
jae 0x416bc0
jmp 0x416bc5
call fcn.00464b1b
mov eax, dword [ebp - 0x1528]
mov byte [ebp + eax - 0x54], 0
push 0x40
lea ecx, [ebp - 0x54]
push ecx
call fcn.00414160
add esp, 8
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x54]
test ecx, ecx
je 0x416c19
mov dword [ebp - 0x1518], 0
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x150c], eax
call fcn.0048a040
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx + 0x238], edx
cmp dword [ebp - 0x150c], 0
je 0x416d36
mov eax, dword [ebp - 0x150c]
movsx ecx, word [eax + 0xa]
mov dword [ebp - 0x1530], ecx
mov edx, dword [ebp - 0x150c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1500], eax
cmp dword [ebp - 0x1518], 0
jne 0x416c5a
mov dword [ebp - 0x152c], 1
jmp 0x416c64
mov dword [ebp - 0x152c], 0
mov ecx, dword [ebp - 0x152c]
push ecx
mov edx, dword [ebp - 0x1530]
push edx
mov eax, dword [ebp - 0x14f4]
push eax
push 1
mov ecx, dword [ebp - 0x1500]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00417940
add esp, 0x1c
mov dword [ebp - 0x14f4], eax
mov dword [ebp - 0x1518], 1
mov eax, dword [ebp - 0x1500]
cmp dword [eax], 0
je 0x416cba
mov ecx, dword [ebp - 0x1500]
add ecx, 4
mov dword [ebp - 0x1500], ecx
mov edx, dword [ebp - 0x1500]
cmp dword [edx], 0
je 0x416d27
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x1500]
mov eax, dword [edx + ecx]
movsx ecx, byte [eax]
cmp ecx, 0x7f
je 0x416d16
push 0
mov edx, dword [ebp - 0x1530]
push edx
mov eax, dword [ebp - 0x14f4]
push eax
push 1
mov ecx, dword [ebp - 0x1500]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00417940
add esp, 0x1c
mov dword [ebp - 0x14f4], eax
cmp dword [ebp - 0x14f4], 0
jne 0x416d16
jmp 0x416d27
mov eax, dword [ebp - 0x1500]
add eax, 4
mov dword [ebp - 0x1500], eax
jmp 0x416cba
mov dword [ebp - 0x150c], 0
jmp 0x416c19
cmp dword [ebp - 0x1518], 0
jne 0x416d59
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 0x18], 0
jmp 0x4172a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb40]
and ecx, 0x200
je 0x416d81
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb50], 0
je 0x416da8
mov ecx, dword [ebp - 0x14f4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb50]
call ecx
add esp, 8
jmp 0x416db5
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb40]
and ecx, 0x400
je 0x416ddd
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb54], 0
je 0x416e04
mov ecx, dword [ebp - 0x14f4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb54]
call ecx
add esp, 8
jmp 0x416e11
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb40]
and ecx, 0x100
je 0x416e39
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 0xa
push 0x4f14d8
mov ecx, dword [ebp - 0x14f4]
add ecx, 0x18
push ecx
call fcn.004789e0
add esp, 8
jmp 0x4172a6
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb40]
and ecx, 2
je 0x416e94
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 2
push 0x4f14d9
mov ecx, dword [ebp - 0x14f4]
add ecx, 0x18
push ecx
call fcn.004789e0
add esp, 8
jmp 0x4172a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb40]
and eax, 0x800
je 0x416edf
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, dword [ebp - 0x14f4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417b30
add esp, 8
mov dword [ebp - 0x1540], eax
cmp dword [ebp - 0x1540], 0
je 0x416f0e
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb40]
and eax, 0x4000
je 0x416f35
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 9
jmp 0x4172a6
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x14f4]
lea edx, [ecx + eax + 0x18]
push edx
call fcn.004481b0
add esp, 4
mov dword [ebp - 0x1544], eax
cmp dword [ebp - 0x1544], 0
jne 0x416f85
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x14f4]
movsx eax, byte [edx + ecx + 0x18]
test eax, eax
je 0x416f85
mov ecx, dword [ebp - 0x14f4]
mov dword [ecx + 8], 0x14
jmp 0x416f92
mov edx, dword [ebp - 0x14f4]
mov dword [edx + 8], 9
jmp 0x4172a6
mov eax, dword [ebp - 0x14f4]
mov dword [eax + 8], 9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb6c]
mov dword [ebp - 0x14fc], edx
cmp dword [ebp - 0x14fc], 0
je 0x4172a6
mov eax, dword [ebp - 0x14fc]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 0x10]
jne 0x417293
mov dword [ebp - 0x1534], 0
push 0x1418
push 0
lea edx, [ebp - 0x14f0]
push edx
call fcn.00465af0
add esp, 0xc
push 0x81
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.00465af0
add esp, 0xc
lea ecx, [ebp - 0x14f0]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x14fc]
mov ecx, dword [eax + 0x18]
call ecx
add esp, 8
test eax, eax
jne 0x417117
lea edx, [ebp - 0xd8]
push edx
call fcn.004822f0
add esp, 4
cmp eax, 0x40
jbe 0x417045
jmp 0x4172a6
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x14f8], eax
jmp 0x417062
mov ecx, dword [ebp - 0x14f8]
add ecx, 1
mov dword [ebp - 0x14f8], ecx
mov edx, dword [ebp - 0x14f8]
movsx eax, byte [edx]
test eax, eax
je 0x4170ad
mov ecx, dword [ebp - 0x14f8]
movsx edx, byte [ecx]
and edx, 0xff
push edx
call fcn.00482290
add esp, 4
test eax, eax
je 0x41708d
jmp 0x4170ad
mov eax, dword [ebp - 0x14f8]
movsx ecx, byte [eax]
and ecx, 0xff
push ecx
call fcn.00482270
add esp, 4
test eax, eax
jne 0x4170ab
jmp 0x4170ad
jmp 0x417053
mov edx, dword [ebp - 0x14f8]
movsx eax, byte [edx]
test eax, eax
je 0x4170bf
jmp 0x4172a6
mov ecx, dword [ebp - 0x14f4]
mov edx, dword [ebp - 0x14fc]
mov eax, dword [edx + 0x10]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14f4]
mov edx, dword [ebp - 0x14fc]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14f4]
mov edx, dword [ebp - 0x14fc]
mov dword [ecx + 0x14], edx
push 0x40
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x14f4]
add ecx, 0x18
push ecx
call fcn.0041a010
add esp, 0xc
mov dword [ebp - 0x1534], 1
cmp dword [ebp - 0x1534], 0
je 0x417291
mov edx, dword [ebp - 0x14fc]
cmp dword [edx + 0x1c], 0
je 0x417291
lea eax, [ebp - 0x14f0]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0x14fc]
mov eax, dword [edx + 0x1c]
call eax
add esp, 8
test eax, eax
jne 0x417291
push 0x5c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004166d0
add esp, 8
mov dword [ebp - 0x1504], eax
cmp dword [ebp - 0x1504], 0
jne 0x417194
mov edx, dword [ebp + 8]
mov dword [edx + 0x21c], 0xffffff92
mov eax, dword [ebp + 8]
mov dword [eax + 0x238], 0x16
jmp 0x417291
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004822f0
add esp, 4
cmp eax, 0x40
jbe 0x4171aa
jmp 0x417134
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x14f8], edx
jmp 0x4171c7
mov eax, dword [ebp - 0x14f8]
add eax, 1
mov dword [ebp - 0x14f8], eax
mov ecx, dword [ebp - 0x14f8]
movsx edx, byte [ecx]
test edx, edx
je 0x417211
mov eax, dword [ebp - 0x14f8]
movsx ecx, byte [eax]
and ecx, 0xff
push ecx
call fcn.00482290
add esp, 4
test eax, eax
je 0x4171f2
jmp 0x417211
mov edx, dword [ebp - 0x14f8]
movsx eax, byte [edx]
and eax, 0xff
push eax
call fcn.00482270
add esp, 4
test eax, eax
jne 0x41720f
jmp 0x417211
jmp 0x4171b8
mov ecx, dword [ebp - 0x14f8]
movsx edx, byte [ecx]
test edx, edx
je 0x417223
jmp 0x417134
mov eax, dword [ebp - 0x1504]
mov ecx, dword [ebp - 0x14fc]
mov edx, dword [ecx + 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x1504]
mov ecx, dword [ebp - 0x14fc]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1504]
mov ecx, dword [ebp - 0x14fc]
mov dword [eax + 0x14], ecx
push 0x40
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x1504]
add eax, 0x18
push eax
call fcn.0041a010
add esp, 0xc
mov ecx, dword [ebp - 0x14f4]
mov edx, dword [ebp - 0x1504]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x1504]
mov dword [ebp - 0x14f4], eax
jmp 0x417134
jmp 0x4172a6
mov ecx, dword [ebp - 0x14fc]
mov edx, dword [ecx]
mov dword [ebp - 0x14fc], edx
jmp 0x416fb3
cmp dword [ebp + 0x10], 3
jne 0x4172c0
mov eax, dword [ebp - 0x14f4]
push eax
call fcn.004178c0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret