Function at 0x482188
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push edi
mov byte [ebp - 0x200], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x604], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x603]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x808], 0xa
mov dword [ebp - 0x404], 0
cmp dword [0x672ce4], 0
je 0x4821eb
mov eax, 1
jmp 0x482798
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x482213
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x482213
mov dword [ebp - 0x808], 1
jmp 0x48221d
mov dword [ebp - 0x808], 0xa
mov dword [ebp - 0x404], 0
jmp 0x482238
mov ecx, dword [ebp - 0x404]
add ecx, 1
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp - 0x404]
cmp edx, dword [ebp - 0x808]
jge 0x482744
push 0x28
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x55aa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x232]
push edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x21d]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x236]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x226]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x222]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
push edx
call fcn.0047e7c3
add esp, 0x2c
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x232]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21d]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x232]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x236]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x226]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x222]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
call fcn.0047f915
add esp, 0x1c
test eax, eax
jne 0x482348
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 3]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 1]
push ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
push eax
push str.Vendor_Read_Command_Broken____X__X__X__X
lea ecx, [ebp - 0x804]
push ecx
call fcn.004e894d
add esp, 0x18
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x482798
push 0x200
push 0
lea eax, [ebp - 0x400]
push eax
call fcn.004e8440
add esp, 0xc
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x400]
push edx
call fcn.004e8ae0
add esp, 0xc
cmp dword [0x672bd4], 0
je 0x482386
mov dword [0x672bd0], 1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x4823c4
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x4823c4
mov dword [0x55fa20], 0x7530
cmp dword [0x55ad6c], 0x7530
jle 0x4823c4
mov ecx, dword [0x55ad6c]
mov dword [0x55fa20], ecx
push 0x2a
push 0x200
lea edx, [ebp - 0x400]
push edx
push 0x55aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x232]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21d]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x236]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x226]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x222]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
call fcn.0047e2fa
add esp, 0x2c
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jne 0x4824dc
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 3]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 1]
push ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
push eax
mov ecx, dword [ebp - 0x404]
push ecx
push str.Retry__d___SCSICommandRead_SMIWritesector_Fail___X__X__X__X
lea edx, [ebp - 0x804]
push edx
call fcn.004e894d
add esp, 0x1c
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x28
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x232]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21d]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x236]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x226]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x222]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
call fcn.0047e7c3
add esp, 0x2c
jmp 0x482229
push 0x28
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x55aa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x232]
push edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x21d]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x236]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x226]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x222]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
push edx
call fcn.0047e7c3
add esp, 0x2c
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x48255d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x48255d
jmp 0x482611
cmp dword [ebp - 0x80c], 0
jne 0x482611
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 3]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
push edx
mov eax, dword [ebp - 0x404]
push eax
push str.Retry__d___SCSICommandRead_SMIReadSector_Fail___X__X__X__X
lea ecx, [ebp - 0x804]
push ecx
call fcn.004e894d
add esp, 0x1c
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x28
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x232]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21d]
push edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x21c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x236]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x226]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x222]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
push eax
call fcn.0047e7c3
add esp, 0x2c
jmp 0x482229
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xf0
jne 0x482638
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, 0x2c
jne 0x482638
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x28
push 0x200
lea edx, [ebp - 0x604]
push edx
push 0x55aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x232]
push ecx
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x21d]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x236]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x226]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x222]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
call fcn.0047e7c3
add esp, 0x2c
mov dword [ebp - 0x80c], eax
mov dword [0x55fa20], 0x3c
push 0x200
lea edx, [ebp - 0x400]
push edx
lea eax, [ebp - 0x604]
push eax
call fcn.004e89e0
add esp, 0xc
test eax, eax
jne 0x482729
push 0x2a
push 0x200
lea ecx, [ebp - 0x200]
push ecx
push 0x55aa
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x232]
push eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21d]
push edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x21c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x236]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x226]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x222]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
push eax
call fcn.0047e2fa
add esp, 0x2c
mov dword [ebp - 0x80c], eax
cmp dword [0x672bd4], 0
je 0x48273c
mov dword [0x672bd0], 0
mov eax, dword [ebp - 0x80c]
jmp 0x482798
mov dword [0x55fa20], 0x3c
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 3]
push edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
push edx
push str.Vendor_Read_Command_Fail____X__X__X__X
lea eax, [ebp - 0x804]
push eax
call fcn.004e894d
add esp, 0x18
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x80c]
pop edi
mov esp, ebp
pop ebp
ret