Function at 0x10096e50
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c51b4
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x46c], esi
mov ebx, ecx
mov dword [ebp - 0x484], ebx
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x488], ebx
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x470], 0
call fcn.10003bb0
mov dword [ebp - 4], 1
test esi, esi
jne 0x10096ecd
lea eax, [ebp - 0x444]
mov ecx, ebx
push eax
call fcn.10005450
jmp 0x10097367
push str.Kernel32.dll
lea ecx, [ebp - 0x4b8]
call fcn.10003b60
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4b8]
push eax
call fcn.10097c10
mov ecx, eax
call fcn.10097cd0
mov esi, eax
mov dword [ebp - 0x47c], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b8]
call fcn.10003b10
push str.Psapi.dll
lea ecx, [ebp - 0x4a0]
call fcn.10003b60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4a0]
push eax
call fcn.10097c10
mov ecx, eax
call fcn.10097cd0
mov edi, eax
mov dword [ebp - 0x478], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.10003b10
test edi, edi
je 0x10097359
test esi, esi
je 0x10097359
lea ecx, [ebp - 0x138]
call fcn.10090b60
cmp dword [ebp - 0x134], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x1009700b
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x1009700b
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x42c], 0x208
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push dword [ebp - 0x46c]
call esi
test eax, eax
je 0x1009700b
mov eax, dword [ebp - 0x42c]
cmp eax, 0x208
jae 0x10096fe9
add eax, eax
cmp eax, 0x412
jae 0x1009739e
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10003f00
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10003cf0
lea ecx, [ebp - 0x444]
call fcn.10003ac0
test al, al
je 0x10097280
push str.GetProcessImageFileNameW
push dword [ebp - 0x478]
call edi
mov esi, eax
test esi, esi
jne 0x10097044
push str.GetProcessImageFileNameW
push dword [ebp - 0x47c]
call edi
mov esi, eax
test esi, esi
je 0x100970b2
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x100970b2
add eax, eax
cmp eax, 0x412
jae 0x1009739e
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10003f00
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10003cf0
lea ecx, [ebp - 0x444]
call fcn.10003ac0
test al, al
jne 0x10097280
push 0x410
call fcn.101b0f90
add esp, 4
mov ebx, eax
push 0x410
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x450]
push 0xc
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0x450]
call fcn.10005400
mov byte [ebp - 4], 4
call fcn.1009a9c0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x42c], 0
call fcn.10005c80
test eax, eax
je 0x10097262
call fcn.10003c50
xor esi, esi
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x474], esi
mov edi, dword [eax]
add edi, esi
mov ecx, edi
call fcn.10003ce0
cmp eax, 3
jb 0x1009716c
mov ecx, edi
call fcn.10003c50
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x10097158
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x1009716c
cmp edx, 8
jb 0x10097166
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ebx
mov ecx, edi
call fcn.10003ad0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x10097187
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10097190
sub esi, ecx
sar esi, 1
je 0x100971cb
lea ecx, [ebp - 0x444]
call fcn.10003ce0
cmp esi, eax
jae 0x100971cb
push esi
push ebx
lea ecx, [ebp - 0x444]
call fcn.10003ad0
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x10097201
mov edi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x450]
mov esi, dword [ebp - 0x474]
inc edi
add esi, 0x18
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x474], esi
call fcn.10005c80
cmp edi, eax
jae 0x1009725c
mov eax, dword [ebp - 0x480]
jmp 0x10097135
lea ecx, [ebp - 0x468]
call fcn.10003bb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x444]
call fcn.10003ad0
mov ecx, edi
lea eax, [eax + esi*2]
push eax
call fcn.10003ad0
push eax
lea eax, [ebp - 0x468]
push 0x101e6bd0
push eax
call fcn.100851e0
add esp, 0x10
lea eax, [ebp - 0x468]
lea ecx, [ebp - 0x444]
push eax
call fcn.10044160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.10003b10
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call fcn.101b0f8b
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.100053f0
mov ebx, dword [ebp - 0x484]
lea ecx, [ebp - 0x444]
call fcn.10003ac0
test al, al
je 0x10097329
push str.GetModuleFileNameExW
push dword [ebp - 0x478]
call edi
mov esi, eax
test esi, esi
jne 0x100972b9
push str.GetModuleFileNameExW
push dword [ebp - 0x47c]
call edi
mov esi, eax
test esi, esi
je 0x10097329
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push 0
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x10097329
add eax, eax
cmp eax, 0x412
jae 0x1009739e
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10003f00
add esp, 4
lea ecx, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10003cf0
lea edx, [ebp - 0x444]
lea ecx, [ebp - 0x4a0]
call fcn.100876d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x444]
push eax
call fcn.10003b20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a0]
call fcn.10003b10
lea eax, [ebp - 0x444]
mov ecx, ebx
push eax
call fcn.10005450
mov dword [ebp - 0x470], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.10003b10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret
call fcn.101b1113
int3