Function at 0x4361a0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x6384c4]
sub esp, 0x34
mov ecx, eax
inc eax
push ebx
push ebp
push esi
cmp ecx, 0x15
push edi
mov dword [0x6384c4], eax
jbe 0x436232
lea edx, [esp + 0x20]
mov dword [0x6384c4], 0
push edx
call fcn.00535d00
add esp, 4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push 0
push 0
push 0
push 0
push 0
push 0x19
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4361fa
mov edx, dword [0x5b72dc]
mov byte [edx], al
jmp 0x436232
xor ecx, ecx
lea esi, [ecx + 1]
xor edx, edx
mov eax, esi
mov edi, 9
div edi
mov eax, ecx
mov ebx, 9
movsx edi, byte [esp + edx + 0x28]
xor edx, edx
div ebx
not edi
movsx eax, byte [esp + edx + 0x28]
not eax
xor edi, edi
mov dword [ecx*4 + 0xab53bc], edi
mov ecx, esi
cmp ecx, ebx
jb 0x4361fc
mov eax, dword [0xaab480]
test eax, eax
je 0x436490
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx]
test ebx, ebx
je 0x436490
mov eax, dword [0x6384b8]
or ebp, 0xffffffff
inc eax
cmp eax, 0x46
mov dword [0x6384b8], eax
jbe 0x4362cb
mov edi, dword [0x5b6f50]
xor ecx, ecx
xor esi, esi
mov al, byte [ecx + str.SmoTheOneWasHere]
cmp al, 0x39
jbe 0x43627e
and eax, 0xff
sub eax, 0x41
jmp 0x436286
and eax, 0xff
sub eax, 0x16
movsx eax, byte [esi + eax + 0x5a7ac0]
cmp eax, 0x20
mov dword [ecx*4 + 0xab5b60], eax
jne 0x4362a1
mov byte [0xaab48c], 1
mov dl, byte [ecx + 0x5a80d4]
add esi, 0x24
sub eax, edx
sub eax, edi
and eax, 0x1f
mov dword [ecx*4 + 0xab5b60], eax
shr edi, 2
inc ecx
cmp ecx, 0x10
jb 0x43626a
mov dword [0x6384b8], 0
mov esi, dword [0x6384b4]
xor ecx, ecx
lea eax, [esi + ecx]
xor edx, edx
mov edi, 0x30
div edi
mov eax, edx
shl eax, 4
cmp byte [eax + 0x6381b8], 0
jne 0x4362fb
cmp dword [eax + 0x6381bc], ebx
je 0x43647f
mov ebp, edx
inc ecx
cmp ecx, 0x30
jl 0x4362d3
test ebp, ebp
jl 0x43630b
mov dword [0x6384b4], ebp
mov dword [esp + 0x14], ebp
mov ebx, ebp
test ebx, ebx
jl 0x436490
mov eax, dword [esp + 0x48]
mov ebp, ebx
shl ebp, 4
mov eax, dword [eax]
mov ecx, dword [ebp + 0x6381bc]
mov edi, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
cmp eax, ecx
je 0x43642a
mov eax, dword [ebp + 0x6381b0]
lea ebx, [ebp + 0x6381b0]
test eax, eax
je 0x43634e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x48]
mov eax, dword [0xaab480]
push 0
push ebx
mov ecx, dword [ecx]
mov edx, dword [eax]
add ecx, 0x14
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov dword [edx + 0x18], edi
mov ecx, dword [ecx]
mov dword [ecx + 0x1c], esi
mov edx, dword [0x6384b0]
inc edx
test eax, eax
mov dword [0x6384b0], edx
jne 0x436490
lea ecx, [esp + 0x1c]
push 2
mov eax, dword [ebx]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push esi
push 0
push eax
call dword [edx + 0x2c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, ecx
shr ecx, 2
mov esi, dword [eax + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4363fa
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov esi, dword [edx + 0x3c]
add esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
push edi
push eax
push edx
push ebx
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [ebp + 0x6381bc], ecx
jne 0x436490
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
push ecx
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x54]
mov dword [ebp + 0x6381b4], eax
mov eax, dword [esp + 0x50]
push edx
push eax
push ebx
call fcn.00436520
mov eax, dword [ebp + 0x6381b0]
xor edx, edx
add esp, 0x10
cmp byte [esi + 4], dl
mov ecx, dword [eax]
setne dl
push edx
push 0
push 0
push eax
call dword [ecx + 0x30]
test eax, eax
mov byte [ebp + 0x6381b8], 1
jne 0x436490
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, edx
mov dword [0x6384b4], edx
mov dword [esp + 0x14], ebx
jmp 0x436311
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x34
ret