Function at 0x452674
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, 0x4db8b8
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
call fcn.0043e425
pop ecx
push 5
lea ecx, [ebp - 0xc]
call fcn.00444a2e
push 0x14
lea ecx, [ebp - 8]
call fcn.00444a2e
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push 3
lea eax, [ebp + 8]
push eax
push 0x4c886c
mov byte [ebp - 0x10], 0
mov byte [ebp - 1], 0
or esi, 0xffffffff
mov edi, 0xfa0
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4526dc
xor esi, esi
inc esi
push 4
lea eax, [ebp + 8]
push eax
push str._BD_
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4526f5
xor esi, esi
push 6
lea eax, [ebp + 8]
push eax
push str.__qbrd
call fcn.00446a34
add esp, 0xc
test al, al
je 0x45270f
xor edi, edi
inc edi
mov ecx, dword [ebp + 8]
jmp 0x452758
cmp ax, 0x2a
jne 0x45273a
lea edx, [ecx + 2]
cmp word [edx], ax
jne 0x45272e
mov ecx, edx
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], 0x10
jmp 0x452753
cmp ax, 0x2a
jne 0x45273a
mov byte [ebp - 0x10], 1
jmp 0x452753
cmp ax, 0x26
jne 0x452746
or dword [ebp - 0x14], 8
jmp 0x452753
cmp ax, 0x2d
jne 0x452760
mov dword [ebp - 0x18], 1
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov ax, word [ecx]
test ax, ax
jne 0x452714
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044785b
mov eax, dword [ebp - 0xc]
mov ax, word [eax]
add esp, 0xc
test ax, ax
jne 0x452787
mov esi, 0x80070057
jmp 0x4528ff
test esi, esi
jl 0x4527a0
push edi
movzx eax, ax
push esi
push eax
call fcn.0041384f
add esp, 0xc
xor esi, esi
jmp 0x4528ff
mov eax, dword [ebp + 8]
cmp word [eax], 0x2c
jne 0x4527cf
inc eax
inc eax
push eax
lea ecx, [ebp - 8]
call fcn.0044dfe2
push dword [ebp - 8]
call fcn.00410df6
push dword [ebp - 8]
call fcn.004130a1
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0044dfe2
push 5
lea ecx, [ebp - 0xc]
call fcn.00444a55
mov esi, dword [ebp - 0xc]
mov word [esi + 2], 0x3a
mov ax, word [esi]
cmp ax, 0x2c
jne 0x4527f2
mov word [esi], 0xff0c
jmp 0x452817
cmp ax, 0x3b
jne 0x4527ff
mov word [esi], 0xff1b
jmp 0x452817
cmp ax, 0x3a
jne 0x45280c
mov word [esi], 0xff1a
jmp 0x452817
cmp ax, 0x3d
jne 0x452817
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 0x4528b9
cmp word [edi], 0x3f
jne 0x4528b9
mov esi, 0x100000
push esi
lea ecx, [ebp + 8]
call fcn.00444a2e
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 0x45287b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x452879
xor eax, eax
inc eax
mov ebx, eax
cmp word [esi], 0x5c
mov eax, esi
jne 0x45289b
cmp word [esi + 2], 0x3f
jne 0x45289b
cmp word [esi + 4], 0x3f
jne 0x45289b
cmp word [esi + 6], 0x5c
jne 0x45289b
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add edi, 2
push edi
call fcn.0044414b
lea ecx, [ebp + 8]
call fcn.0043e48d
mov esi, ebx
mov ebx, 0x4db8b8
jmp 0x4528ff
cmp word [edi], cx
je 0x45291d
cmp dword [ebp - 0x18], ecx
jne 0x45291d
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push esi
push eax
push edi
call fcn.0045252e
add esp, 0x14
test byte [ebp - 1], 0x10
mov edi, eax
je 0x4528ef
movzx eax, word [esi]
push 0x32
push 2
push eax
call fcn.0041384f
add esp, 0xc
test edi, edi
jne 0x452799
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea ecx, [ebp - 8]
call fcn.0043e48d
lea ecx, [ebp - 0xc]
call fcn.0043e48d
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
jmp 0x4529a3
cmp byte [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
je 0x452936
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
test eax, eax
jne 0x452936
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 0x45295a
xor edi, edi
jmp 0x45295e
call ebx
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x452970
xor eax, eax
mov ax, word [esi]
push eax
call fcn.00441bea
pop ecx
test byte [ebp - 1], 0x10
je 0x452986
movzx eax, word [esi]
push 0x32
push 0
push eax
call fcn.0041384f
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0043e48d
lea ecx, [ebp - 0xc]
call fcn.0043e48d
push 0x4db8b8
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8