Function at 0x401b10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404aca
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x40800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb0
xor esi, esi
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x10c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10c], 0x405408
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xfc], 0x4053a8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push esi
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], 8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xf4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
push esi
push esi
push 0x4052ec
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x14]
lea ecx, [ebp - 0xfc]
push 0x401220
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x401c8c
nop dword [eax + eax]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add esi, ecx
mov ecx, edx
test edx, edx
jne 0x401c70
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov edx, dword [ebp - 0xb8]
mov eax, edx
and al, 0x22
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x114], 0x88
movq qword [ebp - 0x128], xmm0
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x14c], xmm0
mov byte [ebp - 0x14c], 0
cmp al, 2
je 0x401d04
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
test ecx, ecx
je 0x401d04
mov eax, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0xbc]
cmovb ecx, dword [ebp - 0xbc]
mov edx, dword [eax]
sub ecx, edx
jmp 0x401d37
test dl, 4
jne 0x401d2b
mov eax, dword [ebp - 0xd8]
mov edi, dword [eax]
test edi, edi
je 0x401d2b
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
add ecx, edi
sub ecx, edx
jmp 0x401d37
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
test edx, edx
je 0x401d48
push ecx
push edx
lea ecx, [ebp - 0x14c]
call fcn.00402c40
mov edx, esi
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x168]
call fcn.00402e80
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x110]
lea ecx, [ebp - 0x180]
call fcn.00403780
movups xmm0, xmmword [ebp - 0x180]
mov dword [ebp - 0x114], 0x78
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x170]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x154]
movq qword [ebp - 0x1c], xmm0
cmp ecx, 0x10
jb 0x401ddf
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401dd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022a9
push ecx
push edx
call fcn.00403d0e
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x138]
cmp ecx, 0x10
jb 0x401e1d
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401e13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022a9
push ecx
push edx
call fcn.00403d0e
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmovae esi, edi
cmovae eax, edi
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x110], eax
cmp esi, eax
je 0x401f3a
movsx ecx, byte [esi]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax]
lea ecx, [ebp - 0x14c]
call fcn.00402e80
or dword [ebp - 0x114], 1
mov byte [ebp - 4], 9
lea edx, [ebp - 0x14c]
cmp dword [ebp - 0x138], 0x10
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x14c]
cmovae edx, edi
mov eax, dword [ebp - 0x48]
sub eax, ecx
mov dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x13c]
push ecx
push edx
cmp ecx, eax
ja 0x401ece
mov esi, dword [ebp - 0x150]
cmp dword [ebp - 0x48], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x13c]
add esp, 0xc
mov byte [eax + esi], 0
mov esi, dword [ebp - 0x118]
jmp 0x401eea
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004035b0
mov edi, dword [ebp - 0x14c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x401f24
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401f1a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022a9
push ecx
push edi
call fcn.00403d0e
add esp, 8
inc esi
mov dword [ebp - 0x118], esi
cmp esi, dword [ebp - 0x110]
jne 0x401e47
mov edi, dword [ebp - 0x2c]
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.00403020
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Welcome_to_CrackMe_2__n
call fcn.00403020
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Author:_WiMix7_n_n
call fcn.00403020
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.00403020
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.00403020
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xb
jb 0x402332
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea edx, [ecx + 0xb]
mov dword [ebp - 0x124], 0
cmovae eax, edi
mov dword [ebp - 0x120], 0
mov edi, 0xf
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x118], edx
xorps xmm0, xmm0
lea esi, [ebp - 0x134]
movups xmmword [ebp - 0x134], xmm0
cmp edx, edi
jbe 0x40206a
mov edi, edx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x401ffb
mov edi, 0x7fffffff
jmp 0x402005
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x1000
jb 0x402048
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x402337
push eax
call fcn.00403cde
add esp, 4
test eax, eax
je 0x402108
mov edx, dword [ebp - 0x118]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x402061
test ecx, ecx
je 0x40205f
push ecx
call fcn.00403cde
mov edx, dword [ebp - 0x118]
add esp, 4
mov esi, eax
jmp 0x402061
xor esi, esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x134], esi
movq xmm0, qword [str.Your_UUID:]
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edi
movq qword [esi], xmm0
mov ax, word [0x405360]
mov word [esi + 8], ax
mov al, byte [0x405362]
push ecx
push dword [ebp - 0x110]
mov byte [esi + 0xa], al
lea eax, [esi + 0xb]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x1c]
mov byte [esi + ecx + 0xb], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
push dword [ebp - 0x124]
cmovae edx, dword [ebp - 0x134]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403960
mov byte [ebp - 4], 5
add esp, 0x10
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x402118
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40210e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40210e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403d0e
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405364
call fcn.00403020
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.00403020
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x44]
call fcn.00403240
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], ecx
movsx edx, byte [eax]
call fcn.00402e80
call fcn.00401330
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
cmovae esi, dword [ebp - 0x44]
add ecx, esi
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00403be0
mov eax, dword [ebp - 0x34]
add esp, 0x20
cmp eax, dword [ebp - 0x4c]
jne 0x4021ec
xor edi, edi
test eax, eax
je 0x4021e5
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.004029f0
mov ecx, edi
call fcn.00401240
add eax, dword [ebp - 0x110]
mov ecx, esp
cmp eax, 9
lea esi, [eax - 0xa]
cmovle esi, eax
lea eax, [ebp - 0x44]
push eax
call fcn.004029f0
mov ecx, edi
call fcn.00401240
add esp, 0x18
cmp eax, esi
jne 0x4021ec
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x4021a2
mov edx, str.Succesful_
jmp 0x4021f1
mov edx, str.Wrong_license_key__Try_again_:_
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x403440
call fcn.00403020
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x40223f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402235
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022a9
push ecx
push edx
call fcn.00403d0e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x402283
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4022a9
push ecx
push edx
call fcn.00403d0e
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x4022b9
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4022af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403d0e
add esp, 8
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0xf4]
call fcn.004028f0
lea ecx, [ebp - 0xec]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.00403cd0
mov esp, ebp
pop ebp
ret
call fcn.00401170
call fcn.004010d0
int3