Function at 0x4550b1
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, 0x4e3934
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
pop ecx
push 5
lea ecx, [ebp - 0xc]
call fcn.004465ac
push 0x14
lea ecx, [ebp - 8]
call fcn.004465ac
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push 3
lea eax, [ebp + 8]
push eax
push 0x4cfadc
mov byte [ebp - 0x10], 0
mov byte [ebp - 1], 0
or esi, 0xffffffff
mov edi, 0xfa0
call fcn.004485c7
add esp, 0xc
test al, al
je 0x455119
xor esi, esi
inc esi
push 4
lea eax, [ebp + 8]
push eax
push str._BD_
call fcn.004485c7
add esp, 0xc
test al, al
je 0x455132
xor esi, esi
push 6
lea eax, [ebp + 8]
push eax
push str.__qbrd
call fcn.004485c7
add esp, 0xc
test al, al
je 0x45514c
xor edi, edi
inc edi
mov ecx, dword [ebp + 8]
jmp 0x455195
cmp ax, 0x2a
jne 0x455177
lea edx, [ecx + 2]
cmp word [edx], ax
jne 0x45516b
mov ecx, edx
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], 0x10
jmp 0x455190
cmp ax, 0x2a
jne 0x455177
mov byte [ebp - 0x10], 1
jmp 0x455190
cmp ax, 0x26
jne 0x455183
or dword [ebp - 0x14], 8
jmp 0x455190
cmp ax, 0x2d
jne 0x45519d
mov dword [ebp - 0x18], 1
inc ecx
inc ecx
mov dword [ebp + 8], ecx
mov ax, word [ecx]
test ax, ax
jne 0x455151
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004494ac
mov eax, dword [ebp - 0xc]
mov ax, word [eax]
add esp, 0xc
test ax, ax
jne 0x4551c4
mov esi, 0x80070057
jmp 0x45533c
test esi, esi
jl 0x4551dd
push edi
movzx eax, ax
push esi
push eax
call fcn.00426656
add esp, 0xc
xor esi, esi
jmp 0x45533c
mov eax, dword [ebp + 8]
cmp word [eax], 0x2c
jne 0x45520c
inc eax
inc eax
push eax
lea ecx, [ebp - 8]
call fcn.0045066c
push dword [ebp - 8]
call fcn.004111a0
push dword [ebp - 8]
call fcn.004135f9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0045066c
push 5
lea ecx, [ebp - 0xc]
call fcn.004465d3
mov esi, dword [ebp - 0xc]
mov word [esi + 2], 0x3a
mov ax, word [esi]
cmp ax, 0x2c
jne 0x45522f
mov word [esi], 0xff0c
jmp 0x455254
cmp ax, 0x3b
jne 0x45523c
mov word [esi], 0xff1b
jmp 0x455254
cmp ax, 0x3a
jne 0x455249
mov word [esi], 0xff1a
jmp 0x455254
cmp ax, 0x3d
jne 0x455254
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 0x4552f6
cmp word [edi], 0x3f
jne 0x4552f6
mov esi, 0x100000
push esi
lea ecx, [ebp + 8]
call fcn.004465ac
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 0x4552b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4552b6
xor eax, eax
inc eax
mov ebx, eax
cmp word [esi], 0x5c
mov eax, esi
jne 0x4552d8
cmp word [esi + 2], 0x3f
jne 0x4552d8
cmp word [esi + 4], 0x3f
jne 0x4552d8
cmp word [esi + 6], 0x5c
jne 0x4552d8
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x1c]
push eax
add edi, 2
push edi
call fcn.00445c44
lea ecx, [ebp + 8]
call fcn.0043fe25
mov esi, ebx
mov ebx, 0x4e3934
jmp 0x45533c
cmp word [edi], cx
je 0x45535a
cmp dword [ebp - 0x18], ecx
jne 0x45535a
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push esi
push eax
push edi
call fcn.00454f6b
add esp, 0x14
test byte [ebp - 1], 0x10
mov edi, eax
je 0x45532c
movzx eax, word [esi]
push 0x32
push 2
push eax
call fcn.00426656
add esp, 0xc
test edi, edi
jne 0x4551d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 8]
call fcn.0043fe25
lea ecx, [ebp - 0xc]
call fcn.0043fe25
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x4553e0
cmp byte [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x455373
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x455373
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 0x455397
xor edi, edi
jmp 0x45539b
call ebx
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x4553ad
xor eax, eax
mov ax, word [esi]
push eax
call fcn.0044377a
pop ecx
test byte [ebp - 1], 0x10
je 0x4553c3
movzx eax, word [esi]
push 0x32
push 0
push eax
call fcn.00426656
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0043fe25
lea ecx, [ebp - 0xc]
call fcn.0043fe25
push 0x4e3934
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8