Function at 0x401220
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403509
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x406008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0x40420c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._n
call fcn.00401a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Welcome_to_the_CrackMe__n
call fcn.00401a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Author:_MiWix7_n_n
call fcn.00401a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Luck__n
call fcn.00401a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._n_n
call fcn.00401a90
mov ecx, dword [ebp - 0x8c]
lea esi, [ebp - 0x2b]
mov dword [ebp - 0x90], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x90]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x401304
push ecx
lea eax, [ebp - 0x2b]
push eax
push esi
lea ecx, [ebp - 0xc8]
call fcn.00402280
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb4]
mov eax, ecx
mov edx, dword [ebp - 0xb8]
sub eax, edx
cmp eax, 0xb
jb 0x4013e5
cmp ecx, 0x10
lea esi, [ebp - 0xc8]
lea eax, [edx + 0xb]
cmovae esi, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
cmp esi, 0x404297
jae 0x4013a3
lea eax, [esi + edx]
cmp eax, str.Your_UUID:
jb 0x4013a3
cmp esi, str.Your_UUID:
ja 0x401399
xor edi, edi
jmp 0x4013a8
mov edi, esi
sub edi, str.Your_UUID:
jmp 0x4013a8
mov edi, 0xb
lea eax, [edx + 1]
push eax
lea ecx, [esi + 0xb]
push esi
push ecx
call sub.VCRUNTIME140.dll_memmove
push edi
push str.Your_UUID:
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0xb
lea ecx, [esi + edi]
sub eax, edi
push eax
lea eax, [edi + 0x404297]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0xc8]
jmp 0x401404
push 0xb
sub esp, 8
mov byte [ebp - 0x90], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0x90]
push 0xb
call fcn.00402590
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 2
jb 0x401471
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
mov edx, 0xa0a
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x28]
jmp 0x40148f
push 2
push 0x404288
mov byte [ebp - 0x90], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x90]
push 2
call fcn.00401ff0
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
push dword [ebp - 0x98]
cmovae edx, dword [ebp - 0xa8]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004023a0
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x40153f
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015d0
push ecx
push edx
call fcn.00402798
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp ecx, 0x10
jb 0x40158e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401584
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015d0
push ecx
push edx
call fcn.00402798
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4015e0
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4015d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402798
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_license_key:
call fcn.00401a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x70]
call fcn.00401cb0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4042ac
call fcn.00401a90
mov ecx, dword [ebp - 0x8c]
lea esi, [ebp - 0x13]
mov dword [ebp - 0x90], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x90]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x401620
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.00402280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
mov edi, dword [ebp - 0x74]
lea edx, [ebp - 0x88]
mov esi, dword [ebp - 0x88]
cmp edi, 0x10
mov eax, dword [ebp - 0x78]
cmovae edx, esi
cmovae ecx, esi
add eax, ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xac], eax
cmp edx, eax
je 0x4017e2
nop dword [eax]
movsx ecx, byte [edx]
lea esi, [ebp - 0x2b]
lea ecx, [ecx*2 + 0xe]
test ecx, ecx
jns 0x4016e0
neg ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x4016b3
dec esi
mov byte [esi], 0x2d
jmp 0x401703
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x4016e0
push ecx
lea eax, [ebp - 0x2b]
push eax
push esi
lea ecx, [ebp - 0xa8]
call fcn.00402280
mov byte [ebp - 4], 6
lea edx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
mov edi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x44]
cmovae edx, edi
mov esi, dword [ebp - 0x48]
sub eax, esi
mov ecx, dword [ebp - 0x98]
push ecx
push edx
cmp ecx, eax
ja 0x40176a
cmp dword [ebp - 0x44], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x401786
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00401ff0
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x4017c0
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4017b6
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401912
push ecx
push edi
call fcn.00402798
add esp, 8
mov edx, dword [ebp - 0x90]
inc edx
mov dword [ebp - 0x90], edx
cmp edx, dword [ebp - 0xac]
jne 0x4016a0
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x74]
mov byte [ebp - 4], 1
cmp edi, 0x10
jb 0x401816
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40180c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401912
push ecx
push esi
call fcn.00402798
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x70]
lea edx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], 0x10
mov esi, dword [ebp - 0x60]
cmovae edx, edi
cmp esi, dword [ebp - 0x48]
jne 0x401895
sub esi, 4
jb 0x401851
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x401856
add edx, 4
add ecx, 4
sub esi, 4
jae 0x401840
cmp esi, 0xfffffffc
je 0x40188a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x401883
cmp esi, 0xfffffffd
je 0x40188a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x401883
cmp esi, 0xfffffffe
je 0x40188a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x401883
cmp esi, 0xffffffff
je 0x40188a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40188a
sbb eax, eax
or eax, 1
jmp 0x40188c
xor eax, eax
mov edx, str.Succesful_
test eax, eax
je 0x40189a
mov edx, str.Wrong_license_key_
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401a90
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4018db
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401912
push ecx
push edx
call fcn.00402798
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x401922
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401918
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401918
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00402798
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040275a
mov esp, ebp
pop ebp
ret