Function at 0x4831c8
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 [0x674174], 0
je 0x48322b
mov eax, 1
jmp 0x4837d8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x483253
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x483253
mov dword [ebp - 0x808], 1
jmp 0x48325d
mov dword [ebp - 0x808], 0xa
mov dword [ebp - 0x404], 0
jmp 0x483278
mov ecx, dword [ebp - 0x404]
add ecx, 1
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp - 0x404]
cmp edx, dword [ebp - 0x808]
jge 0x483784
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.0047f803
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.00480955
add esp, 0x1c
test eax, eax
jne 0x483388
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.004e998d
add esp, 0x18
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x4837d8
push 0x200
push 0
lea eax, [ebp - 0x400]
push eax
call fcn.004e9480
add esp, 0xc
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x400]
push edx
call fcn.004e9b20
add esp, 0xc
cmp dword [0x674064], 0
je 0x4833c6
mov dword [0x674060], 1
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x483404
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x483404
mov dword [0x560eb0], 0x7530
cmp dword [0x55c194], 0x7530
jle 0x483404
mov ecx, dword [0x55c194]
mov dword [0x560eb0], 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.0047f33a
add esp, 0x2c
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jne 0x48351c
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.004e998d
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.0047f803
add esp, 0x2c
jmp 0x483269
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.0047f803
add esp, 0x2c
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf0
jne 0x48359d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0xd
jne 0x48359d
jmp 0x483651
cmp dword [ebp - 0x80c], 0
jne 0x483651
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.004e998d
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.0047f803
add esp, 0x2c
jmp 0x483269
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xf0
jne 0x483678
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, 0x2c
jne 0x483678
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.0047f803
add esp, 0x2c
mov dword [ebp - 0x80c], eax
mov dword [0x560eb0], 0x3c
push 0x200
lea edx, [ebp - 0x400]
push edx
lea eax, [ebp - 0x604]
push eax
call fcn.004e9a20
add esp, 0xc
test eax, eax
jne 0x483769
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.0047f33a
add esp, 0x2c
mov dword [ebp - 0x80c], eax
cmp dword [0x674064], 0
je 0x48377c
mov dword [0x674060], 0
mov eax, dword [ebp - 0x80c]
jmp 0x4837d8
mov dword [0x560eb0], 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.004e998d
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