Function at 0x491a30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
lea eax, [ebp - 0xa0]
push edi
push eax
push 0x73
call fcn.004903e0
mov eax, dword [ebp + 8]
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x491cdc
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x491cdc
mov ecx, dword [ebp + 0x10]
push 0x20
lea edx, [ebp - 0x99]
push eax
push edx
mov byte [ebp - 0xa0], 0x41
mov word [ebp - 0x9f], 0x72
mov dword [ebp - 0x9d], ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x79]
mov byte [ebp - 0x7a], bl
mov dword [ebp - 0x24], eax
push 0x4b31dc
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push ecx
mov dword [ebp - 0x35], 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.Engine.dll_void___cdecl_g_GetDiskPath_char___char__]
add esp, 0x14
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push edx
push eax
push ecx
push ebx
lea edx, [ebp - 0x24]
push ebx
push edx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push str.iphlpapi.dll
mov dword [ebp - 0x31], 0x2012
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x491c65
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x491c65
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ebx
push eax
push ebx
call edi
mov eax, dword [ebp + 0x10]
add eax, 3
and al, 0xfc
call fcn.004925b0
lea ecx, [ebp + 0x10]
mov esi, esp
push ecx
push esi
call edi
mov eax, 8
xor bl, bl
call fcn.004925b0
mov eax, 8
mov dword [ebp - 0xc], esp
mov byte [ebp + 0xb], bl
call fcn.004925b0
test esi, esi
mov dword [ebp - 8], esp
je 0x491c5b
test bl, bl
je 0x491b68
mov al, byte [ebp + 0xb]
test al, al
jne 0x491c2c
lea edi, [esi + 0x1ac]
test edi, edi
je 0x491c1f
lea edx, [edi + 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
test bl, bl
jne 0x491bcd
mov ecx, eax
and ecx, 0xffff
cmp ecx, 0xa8c0
jne 0x491bcd
mov ecx, dword [esi + 0x190]
mov bl, 1
cmp ecx, 6
mov byte [ebp + 0xf], bl
jne 0x491bc2
mov ecx, dword [ebp - 0xc]
lea edx, [esi + 0x194]
mov ebx, dword [esi + 0x194]
mov dword [ecx], ebx
mov bl, byte [ebp + 0xf]
mov dx, word [edx + 4]
mov word [ecx + 4], dx
jmp 0x491bcd
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [edx], ecx
mov word [edx + 4], cx
mov cl, byte [ebp + 0xb]
test cl, cl
jne 0x491c15
and eax, 0xffff
cmp eax, 0xa8c0
je 0x491c15
mov eax, dword [esi + 0x190]
mov byte [ebp + 0xb], 1
cmp eax, 6
jne 0x491c0a
mov ecx, dword [ebp - 8]
lea eax, [esi + 0x194]
mov edx, dword [esi + 0x194]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
jmp 0x491c15
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx], ecx
mov word [edx + 4], cx
mov edi, dword [edi]
test edi, edi
jne 0x491b76
mov esi, dword [esi]
test esi, esi
jne 0x491b59
mov al, byte [ebp + 0xb]
test bl, bl
je 0x491c40
test al, al
jne 0x491c44
lea eax, [ebp - 8]
test eax, eax
je 0x491c5b
mov eax, dword [ebp - 0xc]
jmp 0x491c4e
test al, al
je 0x491c5b
lea eax, [ebp - 8]
test eax, eax
je 0x491c5b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [ebp - 8], ecx
mov word [ebp - 4], dx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [ebp - 8]
xor edx, edx
mov ecx, 1
dec esi
xor eax, eax
mov edi, reloc.WS2_32.dll_inet_addr
mov al, byte [esi + ecx]
imul eax, ecx
add eax, edx
xor edx, edx
div edi
mov eax, edx
neg eax
shl eax, 4
sub eax, edx
inc ecx
mov edx, eax
lea eax, [ecx - 1]
cmp eax, 6
jl 0x491c70
lea ecx, [ebp - 0xa0]
push 0x73
xor edx, 0x12345678
push ecx
mov ecx, 0x4c0998
mov dword [ebp - 0x39], edx
call fcn.0048fe10
test eax, eax
je 0x491cdc
push 0xea60
push 0
mov ecx, 0x4c0998
call fcn.00490100
mov eax, 1
lea esp, [ebp - 0xac]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esp, [ebp - 0xac]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc