Function at 0x451568
Capabilities:
Get disk information
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, 0x4d88a8
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
call fcn.0043dcd9
pop ecx
push 5
lea ecx, [ebp - 0xc]
call fcn.004441bf
push 0x14
lea ecx, [ebp - 8]
call fcn.004441bf
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push 3
lea eax, [ebp + 8]
push eax
push 0x4c56ec
mov byte [ebp - 0x10], 0
mov byte [ebp - 1], 0
or esi, 0xffffffff
mov edi, 0xfa0
call fcn.004460ea
add esp, 0xc
test al, al
je 0x4515d0
xor esi, esi
inc esi
push 4
lea eax, [ebp + 8]
push eax
push str._BD_
call fcn.004460ea
add esp, 0xc
test al, al
je 0x4515e9
xor esi, esi
push 6
lea eax, [ebp + 8]
push eax
push str.__qbrd
call fcn.004460ea
add esp, 0xc
test al, al
je 0x451603
xor edi, edi
inc edi
mov ecx, dword [ebp + 8]
jmp 0x45164c
cmp ax, 0x2a
jne 0x45162e
lea edx, [ecx + 2]
cmp word [edx], ax
jne 0x451622
mov ecx, edx
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], 0x10
jmp 0x451647
cmp ax, 0x2a
jne 0x45162e
mov byte [ebp - 0x10], 1
jmp 0x451647
cmp ax, 0x26
jne 0x45163a
or dword [ebp - 0x14], 8
jmp 0x451647
cmp ax, 0x2d
jne 0x451654
mov dword [ebp - 0x18], 1
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov ax, word [ecx]
test ax, ax
jne 0x451608
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00446f11
mov eax, dword [ebp - 0xc]
mov ax, word [eax]
add esp, 0xc
test ax, ax
jne 0x45167b
mov esi, 0x80070057
jmp 0x4517f3
test esi, esi
jl 0x451694
push edi
movzx eax, ax
push esi
push eax
call fcn.00413492
add esp, 0xc
xor esi, esi
jmp 0x4517f3
mov eax, dword [ebp + 8]
cmp word [eax], 0x2c
jne 0x4516c3
inc eax
inc eax
push eax
lea ecx, [ebp - 8]
call fcn.0044cf95
push dword [ebp - 8]
call fcn.00410a39
push dword [ebp - 8]
call fcn.00412ce4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0044cf95
push 5
lea ecx, [ebp - 0xc]
call fcn.004441e6
mov esi, dword [ebp - 0xc]
mov word [esi + 2], 0x3a
mov ax, word [esi]
cmp ax, 0x2c
jne 0x4516e6
mov word [esi], 0xff0c
jmp 0x45170b
cmp ax, 0x3b
jne 0x4516f3
mov word [esi], 0xff1b
jmp 0x45170b
cmp ax, 0x3a
jne 0x451700
mov word [esi], 0xff1a
jmp 0x45170b
cmp ax, 0x3d
jne 0x45170b
mov word [esi], 0xff1d
mov edi, dword [ebp - 8]
mov word [esi + 4], 0x5c
xor ecx, ecx
mov word [esi + 6], cx
mov ax, word [esi]
cmp ax, cx
mov word [ebp - 0x24], ax
mov word [ebp - 0x22], 0x3a
mov word [ebp - 0x20], cx
je 0x4517ad
cmp word [edi], 0x3f
jne 0x4517ad
mov esi, 0x100000
push esi
lea ecx, [ebp + 8]
call fcn.004441bf
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x45176f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x45176d
xor eax, eax
inc eax
mov ebx, eax
cmp word [esi], 0x5c
mov eax, esi
jne 0x45178f
cmp word [esi + 2], 0x3f
jne 0x45178f
cmp word [esi + 4], 0x3f
jne 0x45178f
cmp word [esi + 6], 0x5c
jne 0x45178f
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add edi, 2
push edi
call fcn.004438ac
lea ecx, [ebp + 8]
call fcn.0043dd41
mov esi, ebx
mov ebx, 0x4d88a8
jmp 0x4517f3
cmp word [edi], cx
je 0x451811
cmp dword [ebp - 0x18], ecx
jne 0x451811
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push esi
push eax
push edi
call fcn.00451422
add esp, 0x14
test byte [ebp - 1], 0x10
mov edi, eax
je 0x4517e3
movzx eax, word [esi]
push 0x32
push 2
push eax
call fcn.00413492
add esp, 0xc
test edi, edi
jne 0x45168d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 8]
call fcn.0043dd41
lea ecx, [ebp - 0xc]
call fcn.0043dd41
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x451897
cmp byte [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x45182a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x45182a
call ebx
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
je 0x45184e
xor edi, edi
jmp 0x451852
call ebx
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x451864
xor eax, eax
mov ax, word [esi]
push eax
call fcn.00441443
pop ecx
test byte [ebp - 1], 0x10
je 0x45187a
movzx eax, word [esi]
push 0x32
push 0
push eax
call fcn.00413492
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0043dd41
lea ecx, [ebp - 0xc]
call fcn.0043dd41
push 0x4d88a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8