Function at 0x486b56
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e638b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1c58
call fcn.004aa330
mov dword [ebp - 0x1c54], ecx
mov dword [ebp - 0x1c24], 0
cmp dword [0x528d5c], 1
je 0x486b9a
cmp dword [0x528ccc], 0
je 0x486b9f
jmp 0x488c5c
mov dword [0x528d5c], 1
push str._OnButtonScanusb_:_Start_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5fd
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov dword [ebp - 0x174c], eax
push str.Initial_Card_Spend_Time
mov ecx, dword [ebp - 0x174c]
call fcn.004cd86b
mov dword [ebp - 0x1760], 0
jmp 0x486bf5
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x486c46
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0x4e60
mov edx, dword [ebp - 0x1c54]
mov byte [edx + ecx + 0x26d1], 0xfe
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + eax*4 + 0x55b30], 0
je 0x486c44
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x55b30]
mov byte [ecx], 0xfe
jmp 0x486be6
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0x152c], 0
jne 0x486c8a
push 0
push 0
mov ecx, dword [ebp - 0x1c54]
call fcn.0048c65e
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov dword [ebp - 0x1c20], eax
push str.Scanning..
mov ecx, dword [ebp - 0x1c20]
call fcn.004cd86b
mov dword [ebp - 0x1760], 1
jmp 0x486ca5
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x486d27
cmp dword [0x528ee0], 0
je 0x486cd0
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x486d22
mov eax, dword [ebp - 0x1760]
add eax, 0x608
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov ecx, eax
call fcn.00404c30
test eax, eax
je 0x486d0b
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x486d22
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 0
jmp 0x486c96
cmp dword [0x528d58], 0
jne 0x486d4a
cmp dword [0x5291b0], 0
je 0x486d4a
push 0x44
push 0
push 0x528d14
call fcn.004a9cd0
add esp, 0xc
mov dword [0x5299b8], 0
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x24c0], 0
mov dword [0x5299dc], 0
mov dword [0x5299c4], 0
push 0x11
push 0
push 0x529990
call fcn.004a9cd0
add esp, 0xc
mov dword [ebp - 0x1730], 1
mov dword [ebp - 0x1748], 0
lea ecx, [ebp - 0x218]
call fcn.004048b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1910], 0
jmp 0x486dca
mov eax, dword [ebp - 0x1910]
add eax, 1
mov dword [ebp - 0x1910], eax
cmp dword [ebp - 0x1910], 0x18
jge 0x486de6
mov ecx, dword [ebp - 0x1910]
mov dword [ecx*4 + 0x529d28], 1
jmp 0x486dbb
call fcn.00494506
cmp dword [0x528494], 0
je 0x486eeb
mov edx, dword [ebp - 0x1c54]
mov eax, dword [edx + 0xdac]
push eax
call fcn.004946d6
add esp, 4
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0xdac], 1
jne 0x486eeb
mov dword [ebp - 0x1760], 0
jmp 0x486e3b
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x10
jge 0x486edb
mov eax, dword [ebp - 0x1760]
cmp dword [eax*4 + 0x529d88], 0
je 0x486ed6
mov ecx, dword [ebp - 0x1760]
push ecx
push str.PORTINDEX_d
lea edx, [ebp - 0x218]
push edx
call fcn.004c3f32
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0xf2c]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ecx*4 + 0x529d88]
push edx
push 0x523490
lea eax, [ebp - 0xf2c]
push eax
call fcn.004aa1dd
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
add ecx, 0xeb4
push ecx
lea edx, [ebp - 0xf2c]
push edx
lea ecx, [ebp - 0x218]
call fcn.004048d0
push eax
push str.INITIAL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x486e2c
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0xdac], 0
mov dword [ebp - 0x1760], 1
jmp 0x486f06
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x528e48]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x486f64
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x529990], 0
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x5299c8], 0xff
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0x35
mov dword [edx + 0x529224], 0
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x5299a4], 0
mov ecx, dword [ebp - 0x1760]
mov dword [ecx*4 + 0x528cd0], 1
jmp 0x486ef7
mov ecx, dword [ebp - 0x1c54]
call fcn.0048aa8e
mov dword [ebp - 0x1760], 0
jmp 0x486f8a
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x18
jge 0x487147
cmp dword [0x528494], 0
jne 0x486faf
mov eax, dword [0x529cc4]
cmp eax, dword [ebp - 0x1760]
jne 0x486faf
jmp 0x486f7b
cmp dword [0x528494], 0
jne 0x486fc8
mov ecx, dword [0x529cc0]
cmp ecx, dword [ebp - 0x1760]
jne 0x486fc8
jmp 0x486f7b
push 0
mov edx, dword [ebp - 0x1730]
push edx
mov eax, dword [ebp - 0x1760]
push eax
call fcn.00494d97
add esp, 0xc
test eax, eax
je 0x487142
mov ecx, dword [ebp - 0x1730]
add ecx, 1
mov dword [ebp - 0x1730], ecx
cmp dword [0x528494], 0
je 0x48709e
cmp dword [0x5299dc], 0
je 0x48709e
mov dword [0x5299b8], 0
mov dword [ebp - 0x1910], 1
jmp 0x487036
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x528e48]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x487082
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x529990], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x5299c8], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x5299a4], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x529224], 0
jmp 0x487027
push 0
push 0x52349c
push str._Fix_Usb_Port__function_only_support_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004cbd0e
jmp 0x487147
cmp dword [0x528ec4], 0
je 0x487142
cmp dword [0x5299dc], 0
jne 0x487142
mov dword [0x5299b8], 0
mov dword [ebp - 0x1910], 1
jmp 0x4870dd
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x528e48]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x487129
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x529990], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x5299c8], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x5299a4], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x529224], 0
jmp 0x4870ce
push 0
push str.WARNNING
push str.RamosProductionMode_cant_work_at_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004cbd0e
jmp 0x487147
jmp 0x486f7b
mov dword [ebp - 0x1808], 0
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x1c28], 0
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x1c30]
call fcn.004048b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a1c]
call fcn.0040ef40
lea ecx, [ebp - 0x228]
call fcn.00408050
push 0xa0
push 0
lea edx, [ebp - 0x1800]
push edx
call fcn.004a9cd0
add esp, 0xc
mov dword [ebp - 0x1760], 1
jmp 0x4871c2
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x4872a3
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + ecx*4 + 0x270], 0
jne 0x4871f2
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x529990], 0
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x152c], 0
je 0x48729e
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov dword [eax + edx*4 + 0x156c], 0
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x1559]
test edx, edx
je 0x487263
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x529990]
test ecx, ecx
jne 0x487261
push 0
push 1
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
jmp 0x48729e
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x529990]
cmp ecx, 1
jne 0x48729e
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x529990], 0
push 0
push 0
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
jmp 0x4871b3
push 6
push 0
push 0x528d60
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
call fcn.0048ec30
mov dword [ebp - 0x1760], 1
jmp 0x4872da
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x528e48]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x488991
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x5299a4]
test ecx, ecx
jne 0x48738b
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x152c], 0
je 0x487356
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x1559]
test edx, edx
je 0x487356
push str.Cant_find_device__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9f30
add esp, 8
push 0xb0
push 0x32
push 0x80ffff
push 0x523544
push 1
lea ecx, [ebp - 0x1a14]
push ecx
push 0xa
push 1
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
jmp 0x4872cb
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x529990]
test ecx, ecx
jne 0x487452
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9cd0
add esp, 0xc
push str.No_Card__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9f30
add esp, 8
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x152c], 0
je 0x48741d
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + edx*4 + 0x156c], 0xff0000
jne 0x48741d
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9cd0
add esp, 0xc
push str.AutoHandler_Skip__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9f30
add esp, 8
push 0xb1
push 0x32
push 0x80ffff
push 0x523568
push 1
lea eax, [ebp - 0x1a14]
push eax
push 0xa
push 1
mov ecx, dword [ebp - 0x1760]
push ecx
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
jmp 0x4872cb
push 0xb1
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040bc4e
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x529990]
cmp edx, 1
jne 0x48753d
mov eax, dword [ebp - 0x1760]
movsx ecx, byte [eax + 0x5299c8]
cmp ecx, 0xffffffff
je 0x48753d
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1760]
push eax
push str._OnButtonScanusb__:____d___Open_handle_again_____________n
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004aa1dd
add esp, 0xc
lea edx, [ebp - 0x190c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
lea eax, [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00493fbe
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
push str._OnButtonScanusb__:____d___Handle__0x_lx_____________n
lea edx, [ebp - 0x190c]
push edx
call fcn.004aa1dd
add esp, 0x10
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c2c], 0
jne 0x48760c
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1760]
push edx
push str._OnButtonScanusb__:____d___Open_handle_fail_____________n
lea eax, [ebp - 0x190c]
push eax
call fcn.004aa1dd
add esp, 0xc
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x529990], 0
push 0
push 0x50
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9cd0
add esp, 0xc
push str.Card_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9f30
add esp, 8
push 0
push 0x32
push 0xff
push 0x523628
push 1
lea eax, [ebp - 0x1a14]
push eax
push 0xa
push 1
mov ecx, dword [ebp - 0x1760]
push ecx
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
jmp 0x4872cb
cmp dword [0x529184], 0
je 0x487682
cmp dword [0x5291b0], 0
je 0x487682
mov edx, dword [ebp - 0x1760]
cmp dword [edx*4 + 0x528d14], 0
jne 0x487682
cmp dword [0x528dbc], 0
jle 0x487680
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
push 0xa
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00405e8c
push str.No_Serial_Number_in_Barcode_
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c60dd
jmp 0x4876d4
cmp dword [0x528dbc], 0
jle 0x4876d4
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
push 7
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00405e8c
push str.Ready
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c60dd
lea ecx, [ebp - 0x228]
call fcn.004080e0
push eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.00408420
lea edx, [ebp - 0x1c40]
push edx
lea ecx, [ebp - 0x228]
call fcn.004917d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1a1c], ecx
mov dword [ebp - 0x1a18], edx
push 0xf
push 0x80ffff
mov eax, dword [ebp - 0x1a18]
push eax
mov ecx, dword [ebp - 0x1a1c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c44], esp
push 0x5296b8
call fcn.004ce3cf
mov dword [ebp - 0x1c58], eax
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040b692
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1760]
push edx
push str._OnButtonScanusb__:____d___Send_SMI_CMD_START___to_check_run_mode_____________n
lea eax, [ebp - 0x190c]
push eax
call fcn.004aa1dd
add esp, 0xc
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x1804]
push edx
lea eax, [ebp - 0x175c]
push eax
call fcn.0049bd9c
add esp, 8
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x487864
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9cd0
add esp, 0xc
push str.Command_flow_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9f30
add esp, 8
push 0
push 0x32
push 0xff
push 0x5236b8
push 1
lea eax, [ebp - 0x1a14]
push eax
push 0xa
push 1
mov ecx, dword [ebp - 0x1760]
push ecx
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x529990], 0
push 0
push 0x51
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.00494116
add esp, 0xc
jmp 0x4872cb
mov al, byte [ebp - 0x175c]
mov byte [ebp - 0x1c28], al
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
imul ecx, ecx, 0xa
mov dl, byte [ebp - 0x1c28]
mov byte [ebp + ecx - 0x17f8], dl
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
cmp eax, 2
je 0x4878a9
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0x2310], 0
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
je 0x48807d
push 0xc00
lea eax, [ebp - 0xe28]
push eax
mov ecx, dword [ebp - 0x1804]
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.0049c3ce
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x48798f
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9cd0
add esp, 0xc
push str.Read_FlashID_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9f30
add esp, 8
push 0
push 0x32
push 0xff
push 0x5236d0
push 1
lea edx, [ebp - 0x1a14]
push edx
push 0xa
push 1
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x529990], 0
push 0
push 0x52
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00494116
add esp, 0xc
jmp 0x4872cb
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
test edx, edx
jne 0x487c0d
mov dword [ebp - 0x210], 0
jmp 0x4879be
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x20
jge 0x487b77
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xec
je 0x487acf
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x98
je 0x487acf
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0xc1
je 0x487acf
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x45
je 0x487acf
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0xad
je 0x487acf
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x2c
je 0x487acf
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xb5
je 0x487acf
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
je 0x487acf
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x89
je 0x487acf
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 7
je 0x487acf
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
jne 0x487b72
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf7]
cmp eax, 0xff
je 0x487b72
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf6]
cmp edx, 0xff
je 0x487b72
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf5]
cmp ecx, 0xff
je 0x487b72
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf4]
cmp eax, 0xff
je 0x487b72
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf3]
cmp edx, 0xff
je 0x487b72
push 8
mov eax, dword [ebp - 0x210]
lea ecx, [ebp + eax*8 - 0xdf8]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
imul edx, edx, 0xa
lea eax, [ebp + edx - 0x1800]
push eax
call fcn.004aa370
add esp, 0xc
jmp 0x487b77
jmp 0x4879af
mov ecx, dword [ebp - 0xe14]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp - 0xe13]
and edx, 0xff
shl edx, 0x10
add ecx, edx
mov eax, dword [ebp - 0xe12]
and eax, 0xff
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0xe11]
and edx, 0xff
add ecx, edx
mov dword [ebp - 0x214], ecx
cmp dword [0x528dbc], 0
jle 0x487c0d
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
push 7
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00405e8c
push str.Ready__RomMode_
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c60dd
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
cmp eax, 1
jne 0x488078
mov ecx, dword [ebp - 0xe17]
and ecx, 0xff
shl ecx, 8
mov edx, dword [ebp - 0xe18]
and edx, 0xff
add ecx, edx
mov word [ebp - 0x1750], cx
mov dword [ebp - 0x210], 0
jmp 0x487c60
mov eax, dword [ebp - 0x210]
add eax, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x400
jge 0x487eee
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0xec
je 0x487dfc
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0x98
je 0x487dfc
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0xc1
je 0x487dfc
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0x45
je 0x487dfc
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0xad
je 0x487dfc
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0x2c
je 0x487dfc
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0xb5
je 0x487dfc
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0x20
je 0x487dfc
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0x89
je 0x487dfc
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 7
je 0x487dfc
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0x20
jne 0x487ee9
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe27]
cmp eax, 0xff
je 0x487ee9
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe26]
cmp edx, 0xff
je 0x487ee9
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe25]
cmp ecx, 0xff
je 0x487ee9
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe24]
cmp eax, 0xff
je 0x487ee9
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe23]
cmp edx, 0xff
je 0x487ee9
push 8
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
lea ecx, [ebp + eax - 0xe28]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
imul edx, edx, 0xa
lea eax, [ebp + edx - 0x1800]
push eax
call fcn.004aa370
add esp, 0xc
jmp 0x487eee
jmp 0x487c51
push 0x800
push 0
lea ecx, [ebp - 0x172c]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 0x800
lea edx, [ebp - 0x172c]
push edx
mov eax, dword [ebp - 0x1804]
push eax
lea ecx, [ebp - 0x175c]
push ecx
call fcn.0049c760
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
je 0x487f7b
mov edx, dword [ebp - 0x171b]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0x171c]
and eax, 0xff
add edx, eax
mov word [ebp - 0x1750], dx
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
xor edx, edx
mov dl, byte [ebp + ecx - 0x163c]
test edx, edx
jne 0x487f7b
mov dword [ebp - 0x1c2c], 0
cmp dword [ebp - 0x1c2c], 0
je 0x488024
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x16c9]
shl ecx, 0x18
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
xor eax, eax
mov al, byte [ebp + edx - 0x16ca]
shl eax, 0x10
add ecx, eax
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
xor eax, eax
mov al, byte [ebp + edx - 0x16cb]
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
xor eax, eax
mov al, byte [ebp + edx - 0x16cc]
add ecx, eax
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
xor edx, edx
mov dl, byte [ebp + ecx - 0x16ed]
shl edx, 8
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x16ee]
add edx, ecx
mov dword [ebp - 0x1c24], edx
cmp dword [0x528dbc], 0
jle 0x488078
mov edx, dword [0x528dbc]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
push 7
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.00405e8c
push str.Ready__MPISP_
mov edx, dword [0x528dbc]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c60dd
jmp 0x4882a7
push 0x800
push 0
lea edx, [ebp - 0x172c]
push edx
call fcn.004a9cd0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x172c]
push eax
mov ecx, dword [ebp - 0x1804]
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.0049c760
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x488164
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9cd0
add esp, 0xc
push str.Read_DriveInfo_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9f30
add esp, 8
push 0
push 0x32
push 0xff
push 0x52370c
push 1
lea edx, [ebp - 0x1a14]
push edx
push 0xa
push 1
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x529990], 0
push 0
push 0x53
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00494116
add esp, 0xc
jmp 0x4872cb
push 6
lea edx, [ebp - 0x163c]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
imul eax, eax, 0xa
lea ecx, [ebp + eax - 0x1800]
push ecx
call fcn.004aa370
add esp, 0xc
mov edx, dword [ebp - 0x16c9]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0x16ca]
and eax, 0xff
shl eax, 0x10
add edx, eax
mov ecx, dword [ebp - 0x16cb]
and ecx, 0xff
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x16cc]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x214], edx
mov ecx, dword [ebp - 0x16ed]
and ecx, 0xff
shl ecx, 8
mov edx, dword [ebp - 0x16ee]
and edx, 0xff
add ecx, edx
mov dword [ebp - 0x1c24], ecx
push 0x11
push 0
lea eax, [ebp - 0x1744]
push eax
call fcn.004a9cd0
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x152c]
push ecx
lea edx, [ebp - 0x1744]
push edx
call fcn.004aa370
add esp, 0xc
mov byte [ebp - 0x1734], 0
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9cd0
add esp, 0xc
lea ecx, [ebp - 0x1744]
push ecx
push str.Ready__FW:__s_
lea edx, [ebp - 0x1a14]
push edx
call fcn.004aa1dd
add esp, 0xc
cmp dword [0x528dbc], 0
jle 0x4882a7
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
push 7
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00405e8c
lea eax, [ebp - 0x1a14]
push eax
mov ecx, dword [0x528dbc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c60dd
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
imul ecx, ecx, 0xa
xor edx, edx
mov dl, byte [ebp + ecx - 0x1800]
test edx, edx
jne 0x488360
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004a9cd0
add esp, 0xc
push str.Cant_Detect_Drive__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004a9f30
add esp, 8
push 0
push 0x32
push 0xff
push 0x523738
push 1
lea edx, [ebp - 0x1a14]
push edx
push 0xa
push 1
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00468d7b
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x529990], 0
push 0
push 0x54
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048b7df
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00494116
add esp, 0xc
jmp 0x4872cb
cmp dword [0x528dbc], 0
je 0x4883b0
mov edx, dword [ebp - 0x214]
shr edx, 0xb
push edx
push str._d_MB
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa1dd
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x528dc0]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c60dd
cmp dword [0x528dd0], 0
jle 0x4883fd
mov edx, dword [ebp - 0x1c24]
push edx
push 0x523744
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa1dd
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x528dd0]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c60dd
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
jne 0x48868a
push 0x104
push 0
lea eax, [ebp - 0x190c]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x1760]
push ecx
push str._OnButtonScanusb__:____d___Read_ID_Table_to_get_Serial_Number_____________n
lea edx, [ebp - 0x190c]
push edx
call fcn.004aa1dd
add esp, 0xc
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x200
push 0
lea ecx, [ebp - 0x1c1c]
push ecx
call fcn.004a9cd0
add esp, 0xc
lea edx, [ebp - 0x1c1c]
push edx
mov eax, dword [ebp - 0x1804]
push eax
lea ecx, [ebp - 0x175c]
push ecx
call fcn.0049c643
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
lea ecx, [ebp - 0x1c30]
call fcn.004ce2ec
cmp dword [ebp - 0x1c2c], 0
je 0x48850b
mov dword [ebp - 0x1910], 0
jmp 0x4884b8
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
cmp dword [ebp - 0x1910], 0xa
jge 0x488509
mov eax, dword [ebp - 0x1910]
xor ecx, ecx
mov cl, byte [ebp + eax*2 - 0x1c08]
push ecx
mov edx, dword [ebp - 0x1910]
xor eax, eax
mov al, byte [ebp + edx*2 - 0x1c07]
push eax
push str._C_C
lea ecx, [ebp - 0x218]
push ecx
call fcn.004c3f32
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1c30]
call fcn.004ce779
jmp 0x4884a9
jmp 0x48851f
push 0x52379c
lea eax, [ebp - 0x1c30]
push eax
call fcn.004c3f32
add esp, 8
cmp dword [0x528dc4], 0
jle 0x488556
lea ecx, [ebp - 0x1c30]
call fcn.004048d0
push eax
mov ecx, dword [0x528dc4]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c60dd
cmp dword [ebp - 0x1c2c], 0
je 0x48868a
push 0x5237a0
lea ecx, [ebp - 0x1744]
push ecx
call fcn.004aa930
add esp, 8
test eax, eax
jne 0x48868a
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1be8]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x1be7]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x1bea]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x1be9]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x1bec]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x1beb]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x1bee]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x1bed]
and ecx, 0xff
push ecx
push str.Ready___FW:__C_C_C_C_C_C_C_C_
lea edx, [ebp - 0x1a14]
push edx
call fcn.004aa1dd
add esp, 0x28
cmp dword [0x528dbc], 0
jle 0x48868a
push 0x5296bc
mov eax, dword [0x528dbc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c60dd
lea eax, [ebp - 0x1a14]
push eax
mov ecx, dword [0x528dbc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c60dd
mov ecx, dword [0x528dbc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
push 7
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00405e8c
cmp dword [0x528dcc], 0
jle 0x48883f
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1760]
sub edx, 1
imul edx, edx, 0xa
xor eax, eax
mov al, byte [ebp + edx - 0x1800]
mov dword [ebp - 0x1c5c], eax
mov ecx, dword [ebp - 0x1c5c]
sub ecx, 7
mov dword [ebp - 0x1c5c], ecx
cmp dword [ebp - 0x1c5c], 0xe5
ja case.0x4886f5.10
mov eax, dword [ebp - 0x1c5c]
xor edx, edx
mov dl, byte [eax + 0x488c96]
jmp dword [edx*4 + 0x488c6a]
push str.RENESES
push 0x5237cc
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push 0x5237d0
push 0x5237d4
lea edx, [ebp - 0x20c]
push edx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.MICRON
push 0x5237e0
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.SPECTEK
push 0x5237ec
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.SANDISK
push 0x5237f8
lea edx, [ebp - 0x20c]
push edx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.TOSHIBA
push 0x523804
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.HYNIX
push 0x523810
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.INFINEON
push 0x523820
lea edx, [ebp - 0x20c]
push edx
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.SAMSUNG
push 0x52382c
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa1dd
add esp, 0xc
jmp case.0x4886f5.10
push str.INTEL
push 0x523838
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004aa1dd
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x528dcc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c60dd
mov eax, dword [ebp - 0x1760]
sub eax, 1
imul eax, eax, 0xa
mov byte [ebp + eax - 0x17f7], 1
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.00494116
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x214]
shr ecx, 0xb
push ecx
push str._d_M
lea edx, [ebp - 0x20c]
push edx
call fcn.004aa1dd
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.004080e0
push eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.00408420
lea edx, [ebp - 0x1c4c]
push edx
lea ecx, [ebp - 0x228]
call fcn.004917d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1a1c], ecx
mov dword [ebp - 0x1a18], edx
push 0xd
push 0x80ffff
mov eax, dword [ebp - 0x1a18]
push eax
mov ecx, dword [ebp - 0x1a1c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c50], esp
lea edx, [ebp - 0x20c]
push edx
call fcn.004ce3cf
mov dword [ebp - 0x1c60], eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.0040b692
cmp dword [0x528ec4], 0
je 0x48898c
push 0x200
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1760]
push eax
push str.PORT_d
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004aa1dd
add esp, 0xc
mov edx, dword [ebp - 0x1c54]
add edx, 0x24c5
push edx
push str.READY
lea eax, [ebp - 0x20c]
push eax
push str.RESULT
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4872cb
mov dword [ebp - 0x1760], 0
jmp 0x4889ac
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
cmp dword [ebp - 0x1760], 0x10
jge 0x4889ed
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0xa
xor eax, eax
mov al, byte [ebp + edx - 0x17f7]
test eax, eax
jne 0x4889cd
jmp 0x48899d
push 6
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0xa
lea edx, [ebp + ecx - 0x1800]
push edx
push 0x528d60
call fcn.004aa370
add esp, 0xc
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0x218], 0
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0x21c], 0xffff
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x220], 0
mov dword [ebp - 0x1760], 1
jmp 0x488a38
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
mov ecx, dword [0x528e48]
add ecx, 1
cmp dword [ebp - 0x1760], ecx
jge 0x488aa6
mov edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x529990]
test eax, eax
je 0x488aa4
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
mov dword [ebp - 0x1c64], ecx
fild dword [ebp - 0x1c64]
sub esp, 8
fstp qword [esp]
push 0x40000000
push 0
call fcn.004ab4c0
add esp, 0x10
call fcn.004ab750
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0x218]
add ecx, eax
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x218], ecx
jmp 0x488a29
mov eax, dword [ebp - 0x1c54]
xor ecx, ecx
mov cl, byte [eax + 0x118]
test ecx, ecx
je 0x488b2e
push 6
push 0
lea edx, [ebp - 0x1c38]
push edx
call fcn.004a9cd0
add esp, 0xc
mov byte [ebp - 0x1c38], 0xf0
mov byte [ebp - 0x1c37], 0x50
mov byte [ebp - 0x1c36], 1
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0x218]
sar ecx, 8
and ecx, 0xff
mov byte [ebp - 0x1c35], cl
mov edx, dword [ebp - 0x1c54]
mov eax, dword [edx + 0x218]
and eax, 0xff
mov byte [ebp - 0x1c34], al
lea ecx, [ebp - 0x1c38]
push ecx
mov edx, dword [ebp - 0x1c54]
add edx, 0x119
push edx
call fcn.004933df
add esp, 8
cmp dword [0x528ee0], 0
je 0x488bed
mov dword [ebp - 0x1760], 1
jmp 0x488b56
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x488bed
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x529990]
cmp edx, 1
jne 0x488bb0
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 1
push 1
mov edx, dword [ebp - 0x1760]
add edx, 0x608
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov ecx, eax
call fcn.00404c60
jmp 0x488be8
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 0
push 0
mov edx, dword [ebp - 0x1760]
add edx, 0x608
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov ecx, eax
call fcn.00404c60
jmp 0x488b47
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x152c], 0
jne 0x488c31
push 0
push 1
mov ecx, dword [ebp - 0x1c54]
call fcn.0048c65e
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004cd5d4
mov dword [ebp - 0x1c20], eax
push str.Scan_Drive
mov ecx, dword [ebp - 0x1c20]
call fcn.004cd86b
mov dword [0x528d5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c30]
call fcn.004ce361
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.004ce361
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret