Function at 0x431b20
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov dword [esp], eax
mov edi, 0x49ba9c
mov esi, dword [0x48db3c]
mov eax, dword [esp]
cmp byte [eax + 0x54], 0x34
jne 0x431b59
mov ax, 0x1f6
call fcn.0040bc04
push eax
mov ax, 0x1f5
call fcn.0040bc04
pop edx
call fcn.0040f5a0
jmp 0x431b7e
mov eax, dword [0x48d550]
movzx eax, byte [eax + 0x18b9]
add ax, 0xa4
call fcn.0040bc04
push eax
mov ax, 0x1f5
call fcn.0040bc04
pop edx
call fcn.0040f5a0
mov eax, dword [0x48da44]
push eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetWindowTextA
push 0x65
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetDlgItem
mov dword [0x49ba7c], eax
push 0x50010037
push 0xfffffffffffffff0
mov eax, dword [0x49ba7c]
push eax
call sub.user32.dll_SetWindowLongA
push 0x200
push 0xffffffffffffffec
mov eax, dword [0x49ba7c]
push eax
call sub.user32.dll_SetWindowLongA
push 0x23
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x49ba7c]
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [0x48d658]
mov eax, dword [eax + 0xc]
push eax
push 0x30
push 0x65
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendDlgItemMessageA
mov dl, 1
xor eax, eax
call fcn.00430f28
xor ecx, ecx
mov edx, dword [0x49baf8]
mov eax, dword [0x49ba7c]
call fcn.0040b58c
mov dword [edi], 0x67
mov dword [edi + 0x20], 1
mov eax, dword [0x49ba80]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov ax, 0x8c
call fcn.0040bc04
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xffff0001
push esi
push edi
mov esi, edi
lea edi, [esp + 0x28]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [esp + 0x18]
mov eax, dword [0x49ba7c]
call fcn.0040b540
mov dword [esp + 4], eax
mov ax, 0x8d
call fcn.0040bc04
mov dword [edi + 0x10], eax
mov dword [esp + 0x1c], 0xffff0002
push esi
push edi
mov esi, edi
lea edi, [esp + 0x28]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [esp + 0x18]
mov eax, dword [0x49ba7c]
call fcn.0040b540
mov dword [esp + 8], eax
mov eax, dword [0x49ba84]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x20], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xffff0002
xor eax, eax
mov dword [esp + 0xc], eax
mov ebx, 1
mov ebp, dword [0x48d7fc]
add ebp, 0xfffffe04
cmp ebx, 0x1a
jle 0x431d02
mov eax, dword [esp]
cmp byte [eax + 0x54], 0x34
jne 0x431e2a
cmp byte [ebp], 0
je 0x431cfb
mov word [esi], 3
jmp 0x431d12
mov word [esi], 0
jmp 0x431d12
mov eax, ebx
call fcn.0040cdd0
push eax
call sub.kernel32.dll_GetDriveTypeA
mov word [esi], ax
cmp word [esi], 1
jbe 0x431e2a
cmp word [esi], 4
je 0x431e2a
cmp word [esi], 6
jbe 0x431d31
mov word [esi], 6
cmp word [esi], 2
jne 0x431d3c
cmp ebx, 3
jl 0x431d4d
mov eax, ebx
mov edx, dword [0x48da44]
call fcn.0041aa4c
test al, al
jne 0x431d69
mov ax, word [esi]
add ax, 0x8e
sub ax, 2
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48da44]
call fcn.00405c48
cmp ebx, 0x1a
jg 0x431dd8
mov eax, dword [0x48da44]
call fcn.00405bdc
xor edx, edx
mov dl, al
mov ecx, dword [0x48da44]
mov byte [ecx + edx], 0x20
xor edx, edx
mov dl, al
mov ecx, dword [0x48da44]
mov byte [ecx + edx + 1], 0x28
xor edx, edx
mov dl, al
mov ecx, dword [0x48da44]
lea edx, [ecx + edx + 2]
push edx
lea edx, [ebx + 0x40]
pop ecx
mov byte [ecx], dl
xor edx, edx
mov dl, al
mov ecx, dword [0x48da44]
mov byte [ecx + edx + 3], 0x3a
xor edx, edx
mov dl, al
mov ecx, dword [0x48da44]
mov byte [ecx + edx + 4], 0x29
and eax, 0xff
mov edx, dword [0x48da44]
mov byte [edx + eax + 5], 0
movzx eax, word [esi]
mov eax, dword [eax*4 + 0x49ba7c]
mov dword [edi + 0x18], eax
movzx edx, word [esi]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], ebx
mov eax, dword [0x48da44]
mov dword [edi + 0x10], eax
push esi
push edi
mov esi, edi
lea edi, [esp + 0x28]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [esp + 0x18]
mov eax, dword [0x49ba7c]
call fcn.0040b540
mov edx, dword [0x48d550]
movsx edx, byte [edx + 0x187d]
cmp ebx, edx
jne 0x431e2a
mov dword [esp + 0xc], eax
inc ebx
add ebp, 0x14
cmp ebx, 0x21
jne 0x431cdc
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [0x49ba84]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
or ebx, 0xffffffff
mov eax, ebx
call fcn.0040cdd0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 1
jbe 0x431ebe
mov eax, ebx
neg eax
dec eax
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x93
call fcn.0040bc04
call fcn.0040f4d4
mov dword [edi + 0x24], ebx
mov eax, dword [0x48da44]
mov dword [edi + 0x10], eax
push edi
mov esi, edi
lea edi, [esp + 0x24]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
lea edx, [esp + 0x18]
mov eax, dword [0x49ba7c]
call fcn.0040b540
mov edx, dword [0x48d550]
movsx edx, byte [edx + 0x187d]
cmp ebx, edx
jne 0x431ebe
mov dword [esp + 0xc], eax
dec ebx
cmp ebx, 0xfffffffd
jne 0x431e4d
mov ebx, 0xfffffffd
mov esi, dword [0x48d8cc]
add esi, 0x1f7
mov eax, dword [0x48d494]
add eax, 0x8c
mov dword [esp + 0x10], eax
mov eax, dword [0x48d270]
add eax, 0x8c
mov dword [esp + 0x14], eax
mov ebp, dword [0x48d9a0]
add ebp, 0x46
cmp byte [esi], 0
je 0x43218d
cmp ebx, 0xffffffde
jge 0x431f15
mov eax, dword [esp]
cmp byte [eax + 0x54], 0x34
jne 0x43218d
mov eax, dword [0x48d2b0]
cmp byte [eax], 0
je 0x431f28
cmp ebx, 0xffffffdf
jle 0x4320cd
cmp byte [esi - 1], 0
jne 0x432074
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
je 0x431f95
mov edx, 0x43225c
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, ebx
neg eax
sub eax, 3
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
push 0x432260
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
jmp 0x431fb9
mov eax, ebx
neg eax
sub eax, 3
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x94
call fcn.0040bc04
call fcn.0040f4d4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
fild qword [esp + 0x4c]
mov eax, dword [0x48d318]
fistp qword [eax]
wait
movzx eax, word [ebp]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
mov eax, dword [0x48d318]
fild qword [eax]
fmulp st(1)
mov eax, dword [0x48d318]
fistp qword [eax]
wait
mov edx, dword [0x48da44]
mov eax, dword [0x48d830]
call fcn.00405c48
mov eax, dword [0x48d318]
fild qword [eax]
fcomp dword [0x432264]
fnstsw ax
sahf
jbe 0x432054
push 0x432268
mov eax, dword [0x48d830]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x48d318]
push dword [eax + 4]
push dword [eax]
call fcn.00412abc
mov eax, dword [0x48da44]
push eax
mov eax, dword [0x48d830]
push eax
call sub.kernel32.dll_lstrcatA
push 0x43226c
mov eax, dword [0x48d830]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x48d830]
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, dword [0x49ba88]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
jmp 0x432146
mov ax, 0x8e
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48da44]
call fcn.00405c48
push 0x432270
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, ebx
neg eax
sub eax, 3
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x49ba84]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
jmp 0x432146
cmp ebx, 0xffffffdd
jle 0x43212c
mov ax, 0x91
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48da44]
call fcn.00405c48
push 0x432270
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, ebx
neg eax
add eax, 0xffffffe0
dec eax
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x49ba90]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
jmp 0x432146
mov eax, ebx
mov ecx, dword [0x48da44]
xor edx, edx
call fcn.0041ac5c
mov eax, dword [0x49ba88]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [0x48da44]
mov dword [edi + 0x10], eax
mov dword [edi + 0x24], ebx
push esi
push edi
mov esi, edi
lea edi, [esp + 0x28]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea edx, [esp + 0x18]
mov eax, dword [0x49ba7c]
call fcn.0040b540
mov edx, dword [0x48d550]
movsx edx, byte [edx + 0x187d]
cmp ebx, edx
jne 0x43218d
mov dword [esp + 0xc], eax
dec ebx
sub ebp, 2
sub dword [esp + 0x14], 4
sub dword [esp + 0x10], 4
sub esi, 0xe
cmp ebx, 0xffffffd9
jne 0x431efa
mov ecx, 2
mov edx, dword [esp + 8]
mov eax, dword [0x49ba7c]
call fcn.0040b570
mov ecx, 2
mov edx, dword [esp + 4]
mov eax, dword [0x49ba7c]
call fcn.0040b570
cmp dword [esp + 0xc], 0
je 0x4321e7
mov ecx, 9
mov edx, dword [esp + 0xc]
mov eax, dword [0x49ba7c]
call fcn.0040b5e0
mov eax, dword [esp]
cmp byte [eax + 0x54], 0x34
jne 0x432200
mov eax, dword [esp]
xor ecx, ecx
mov dx, 0x64
call fcn.0043863c
jmp 0x432249
mov eax, dword [0x48d2b0]
cmp byte [eax], 0
je 0x43221a
mov eax, dword [esp]
xor ecx, ecx
mov dx, 0x64
call fcn.0043863c
jmp 0x432249
mov ax, 0x1f7
call fcn.0040bc04
mov ecx, eax
mov eax, dword [esp]
mov dx, 0x64
call fcn.0042d910
mov edx, dword [0x48d550]
mov dl, byte [edx + 0x18e4]
mov eax, dword [esp]
mov cx, 0x64
call fcn.0042d8fc
mov eax, dword [0x49ba7c]
push eax
call sub.user32.dll_SetFocus
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret