Function at 0x10054cb1
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, 0x100e392c
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
call fcn.1003f9c4
pop ecx
push 5
lea ecx, [ebp - 0xc]
call fcn.10046141
push 0x14
lea ecx, [ebp - 8]
call fcn.10046141
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push 3
lea eax, [ebp + 8]
push eax
push 0x100cfb24
mov byte [ebp - 0x10], 0
mov byte [ebp - 1], 0
or esi, 0xffffffff
mov edi, 0xfa0
call fcn.10048195
add esp, 0xc
test al, al
je 0x10054d19
xor esi, esi
inc esi
push 4
lea eax, [ebp + 8]
push eax
push str._BD_
call fcn.10048195
add esp, 0xc
test al, al
je 0x10054d32
xor esi, esi
push 6
lea eax, [ebp + 8]
push eax
push str.__qbrd
call fcn.10048195
add esp, 0xc
test al, al
je 0x10054d4c
xor edi, edi
inc edi
mov ecx, dword [ebp + 8]
jmp 0x10054d95
cmp ax, 0x2a
jne 0x10054d77
lea edx, [ecx + 2]
cmp word [edx], ax
jne 0x10054d6b
mov ecx, edx
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], 0x10
jmp 0x10054d90
cmp ax, 0x2a
jne 0x10054d77
mov byte [ebp - 0x10], 1
jmp 0x10054d90
cmp ax, 0x26
jne 0x10054d83
or dword [ebp - 0x14], 8
jmp 0x10054d90
cmp ax, 0x2d
jne 0x10054d9d
mov dword [ebp - 0x18], 1
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov ax, word [ecx]
test ax, ax
jne 0x10054d51
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1004907a
mov eax, dword [ebp - 0xc]
mov ax, word [eax]
add esp, 0xc
test ax, ax
jne 0x10054dc4
mov esi, 0x80070057
jmp 0x10054f3c
test esi, esi
jl 0x10054ddd
push edi
movzx eax, ax
push esi
push eax
call fcn.100262ff
add esp, 0xc
xor esi, esi
jmp 0x10054f3c
mov eax, dword [ebp + 8]
cmp word [eax], 0x2c
jne 0x10054e0c
inc eax
inc eax
push eax
lea ecx, [ebp - 8]
call fcn.1005026c
push dword [ebp - 8]
call fcn.10010e64
push dword [ebp - 8]
call fcn.100132bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.1005026c
push 5
lea ecx, [ebp - 0xc]
call fcn.10046168
mov esi, dword [ebp - 0xc]
mov word [esi + 2], 0x3a
mov ax, word [esi]
cmp ax, 0x2c
jne 0x10054e2f
mov word [esi], 0xff0c
jmp 0x10054e54
cmp ax, 0x3b
jne 0x10054e3c
mov word [esi], 0xff1b
jmp 0x10054e54
cmp ax, 0x3a
jne 0x10054e49
mov word [esi], 0xff1a
jmp 0x10054e54
cmp ax, 0x3d
jne 0x10054e54
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 0x10054ef6
cmp word [edi], 0x3f
jne 0x10054ef6
mov esi, 0x100000
push esi
lea ecx, [ebp + 8]
call fcn.10046141
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 0x10054eb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x10054eb6
xor eax, eax
inc eax
mov ebx, eax
cmp word [esi], 0x5c
mov eax, esi
jne 0x10054ed8
cmp word [esi + 2], 0x3f
jne 0x10054ed8
cmp word [esi + 4], 0x3f
jne 0x10054ed8
cmp word [esi + 6], 0x5c
jne 0x10054ed8
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add edi, 2
push edi
call fcn.100457c2
lea ecx, [ebp + 8]
call fcn.1003f96c
mov esi, ebx
mov ebx, 0x100e392c
jmp 0x10054f3c
cmp word [edi], cx
je 0x10054f5a
cmp dword [ebp - 0x18], ecx
jne 0x10054f5a
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push esi
push eax
push edi
call fcn.10054b6b
add esp, 0x14
test byte [ebp - 1], 0x10
mov edi, eax
je 0x10054f2c
movzx eax, word [esi]
push 0x32
push 2
push eax
call fcn.100262ff
add esp, 0xc
test edi, edi
jne 0x10054dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 8]
call fcn.1003f96c
lea ecx, [ebp - 0xc]
call fcn.1003f96c
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x10054fe0
cmp byte [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x10054f73
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x10054f73
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 0x10054f97
xor edi, edi
jmp 0x10054f9b
call ebx
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x10054fad
xor eax, eax
mov ax, word [esi]
push eax
call fcn.100432f8
pop ecx
test byte [ebp - 1], 0x10
je 0x10054fc3
movzx eax, word [esi]
push 0x32
push 0
push eax
call fcn.100262ff
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.1003f96c
lea ecx, [ebp - 0xc]
call fcn.1003f96c
push 0x100e392c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8