Function at 0x482cd8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
cmp dword [0x672ce4], 0
je 0x482cf4
mov eax, 1
jmp 0x48301a
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 0x482d8e
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_Write_Command_Broken____X__X__X__X
lea ecx, [ebp - 0x400]
push ecx
call fcn.004e894d
add esp, 0x18
lea edx, [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x48301a
push 0x200
push 0
lea eax, [ebp - 0x200]
push eax
call fcn.004e8440
add esp, 0xc
push 0x200
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x200]
push edx
call fcn.004e8ae0
add esp, 0xc
cmp dword [0x6729dc], 1
jne 0x482e0e
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xf1
jne 0x482e0e
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0x28
je 0x482dee
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx + 1]
cmp edx, 0x6b
jne 0x482e0e
mov dword [0x55fa20], 0xbb8
cmp dword [0x55ad6c], 0xbb8
jle 0x482e0e
mov eax, dword [0x55ad6c]
mov dword [0x55fa20], eax
cmp dword [0x672bd4], 0
je 0x482e21
mov dword [0x672bd0], 1
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 - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x482ee6
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 0x560010
lea eax, [ebp - 0x400]
push eax
call fcn.004e894d
add esp, 0x18
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc10], 0xc8
xor eax, eax
jmp 0x48301a
push 0x2a
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
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 - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x482f93
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.SCSICommandWrite_SMIWritesector____X__X__X__X
lea eax, [ebp - 0x400]
push eax
call fcn.004e894d
add esp, 0x18
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x672bd4], 0
je 0x482fa6
mov dword [0x672bd0], 0
push 0x28
push 0x200
lea edx, [ebp - 0x200]
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 - 0x404], eax
mov dword [0x55fa20], 0x3c
mov eax, dword [ebp - 0x404]
mov esp, ebp
pop ebp
ret