Function at 0x922200
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb13f30
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x648], eax
xor esi, esi
mov dword [ebp - 0x64c], esi
mov dword [ebp - 4], esi
mov byte [ebp - 0x634], 0
push 0x3ff
push esi
lea ecx, [ebp - 0x633]
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov byte [ebp - 0x234], 0
push 0x103
push esi
lea edx, [ebp - 0x233]
push edx
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00921b00
cmp eax, esi
je 0x9223dd
cmp byte [ebp - 0x234], 0
je 0x9223dd
mov dword [ebp - 0x638], esi
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov bl, 0x2c
lea edi, [ebp - 0x12c]
call fcn.0095ae80
add esp, 8
cmp dword [ebp - 0x638], 0xffffffff
je 0x92250a
test esi, esi
je 0x9222ec
mov edx, edi
push edx
push str._DF__GDT:_s
push 0
call fcn.0096a780
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
test esi, esi
je 0x92230f
push edi
push str._DF__GDT_Res:_d
push 0
call fcn.0096a780
add esp, 0xc
cmp edi, 3
jne 0x9223ca
test esi, esi
je 0x922332
lea ecx, [ebp - 0x12c]
push ecx
push str._DF__DFree:_s
push 0
call fcn.0096a780
add esp, 0xc
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x9223ca
test esi, esi
je 0x922372
lea eax, [ebp - 0x12c]
push eax
push str._DF__DFree_Str:_s
push 0
call fcn.0096a780
add esp, 0xc
mov ecx, dword [ebp - 0x658]
push ecx
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ebp - 0x650]
push eax
mov ecx, dword [ebp - 0x654]
push ecx
mov edx, dword [ebp - 0x640]
push edx
mov eax, dword [ebp - 0x644]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x648]
lea ecx, [ebp - 0x634]
call fcn.00921f40
add esp, 0x1c
test esi, esi
je 0x9223ca
push str._DF__DFree_Str_Fin
push 0
call fcn.0096a780
add esp, 8
lea edx, [ebp - 0x638]
push edx
lea eax, [ebp - 0x234]
push eax
jmp 0x9222b9
mov ebx, 0x41
mov dword [ebp - 0x658], ebx
cmp ebx, 0x5a
jg 0x92250a
mov byte [ebp - 0x12c], bl
mov byte [ebp - 0x12b], 0x3a
mov byte [ebp - 0x12a], 0x5c
mov byte [ebp - 0x129], 0
test esi, esi
je 0x922426
lea ecx, [ebp - 0x12c]
push ecx
push str._DF__GDT_A_:_s
push 0
call fcn.0096a780
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
test esi, esi
je 0x922449
push edi
push str._DF__GDT_Res_A:_d
push 0
call fcn.0096a780
add esp, 0xc
cmp edi, 3
jne 0x922504
test esi, esi
je 0x92246c
lea eax, [ebp - 0x12c]
push eax
push str._DF__DFree_A_:_s
push 0
call fcn.0096a780
add esp, 0xc
lea ecx, [ebp - 0x644]
push ecx
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x922504
test esi, esi
je 0x9224ac
lea edx, [ebp - 0x12c]
push edx
push str._DF__DFree_Str_A_:_s
push 0
call fcn.0096a780
add esp, 0xc
mov eax, dword [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x644]
push ecx
mov edx, dword [ebp - 0x650]
push edx
mov eax, dword [ebp - 0x654]
push eax
mov ecx, dword [ebp - 0x638]
push ecx
mov edx, dword [ebp - 0x63c]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov edx, dword [ebp - 0x648]
lea ecx, [ebp - 0x634]
call fcn.00921f40
add esp, 0x1c
test esi, esi
je 0x922504
push str._DF__DFree_Str_Fin_A_
push 0
call fcn.0096a780
add esp, 8
inc ebx
jmp 0x9223e2
test esi, esi
je 0x922524
lea ecx, [ebp - 0x634]
push ecx
push str._DF__Malloc_A___s_
push 0
call fcn.0096a780
add esp, 0xc
lea eax, [ebp - 0x634]
mov dword [ebp - 0x660], eax
cmp byte [eax], 0
je 0x922538
inc eax
jmp 0x92252a
lea edx, [ebp - 0x634]
sub eax, edx
inc eax
push eax
call fcn.00a7a155
add esp, 4
mov edi, eax
mov dword [ebp - 0x64c], edi
test edi, edi
je 0x92256a
lea ecx, [ebp - 0x634]
mov edx, edi
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x922560
test esi, esi
je 0x92257d
push str._DF__Fin
push 0
call fcn.0096a780
add esp, 8
mov dword [ebp - 4], 0xfffffffe
jmp 0x9225ab
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret