Function at 0x402160
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x6998
call fcn.00416240
mov eax, dword [0x46706c]
xor eax, esp
mov dword [esp + 0x6994], eax
push esi
push edi
push 0x800
lea eax, [esp + 0x119c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x198]
push 0x800
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
push 0x50
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x98]
push 0x100
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x4998]
push 0x2000
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x2998]
push 0x2000
push 0
push eax
call fcn.0042d530
add esp, 0xc
cmp dword [0x46b684], 0
je 0x402234
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x6994]
xor ecx, esp
call fcn.00414edc
mov esp, ebp
pop ebp
ret
push 0x800
lea eax, [esp + 0x219c]
mov dword [0x46b684], 1
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0xd98]
push 0x400
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x998]
push 0x400
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x1998]
push 0x800
push 0
push eax
call fcn.0042d530
add esp, 0xc
lea eax, [esp + 0x1998]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
lea eax, [esp + 0x9a0]
push eax
lea eax, [esp + 0xda4]
push eax
lea eax, [esp + 0x19a8]
push eax
call fcn.00433c27
add esp, 0x14
lea eax, [esp + 0x998]
push eax
lea eax, [esp + 0xd9c]
push eax
lea eax, [esp + 0x21a0]
push str._s_s
push eax
call fcn.00401210
lea eax, [esp + 0x21a8]
push eax
lea eax, [esp + 0x11ac]
push 0x400
push eax
call fcn.00434f1a
add esp, 0x1c
lea eax, [esp + 0x1198]
push eax
push str._sLogs_
lea eax, [esp + 0x1a0]
push 0x400
push eax
call fcn.004011f0
movzx eax, word [esp + 0x1a8]
push eax
push str._c:_
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004011f0
add esp, 0x20
lea eax, [esp + 0x48]
push 0
push 0
push 0
push 0
push 0
push 0x28
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x402375
mov al, 1
jmp 0x4024c2
lea ecx, [esp + 0x198]
call fcn.004027a0
test al, al
jne 0x4023b8
lea ecx, [esp + 0x198]
call fcn.00402990
lea ecx, [esp + 0xc]
call fcn.004034e0
test al, al
jne 0x4023b8
sub esp, 0x18
lea eax, [esp + 0x1b0]
mov ecx, esp
push eax
call fcn.00403820
call fcn.004025a0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x18]
push eax
push str._4d_02d_02d
lea eax, [esp + 0xa8]
push 0x80
push eax
call fcn.004011f0
lea eax, [esp + 0x1b0]
push eax
lea eax, [esp + 0x11b4]
push 0x400
push eax
call fcn.00434f1a
add esp, 0x24
lea eax, [esp + 0x98]
push esi
push eax
lea eax, [esp + 0x11a0]
push eax
push str._slog__s__s.txt
lea eax, [esp + 0x1a8]
push 0x400
push eax
call fcn.004011f0
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push eax
push str._02d_02d_02d__02d_02d_02d
lea eax, [esp + 0xcc]
push 0x80
push eax
call fcn.004011f0
add esp, 0x3c
lea eax, [esp + 0x98]
push edi
push eax
push str._s_:__s
lea eax, [esp + 0x29a4]
push 0x1000
push eax
call fcn.004011f0
add esp, 0x14
lea eax, [esp + 0x2998]
push eax
lea eax, [esp + 0x499c]
push 0x1000
push eax
call fcn.00434f1a
add esp, 0xc
lea edx, [esp + 0x4998]
lea ecx, [esp + 0x198]
call fcn.00402060
mov ecx, dword [esp + 0x699c]
pop edi
pop esi
xor ecx, esp
mov dword [0x46b684], 0
call fcn.00414edc
mov esp, ebp
pop ebp
ret