Function at 0x48a5fb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea2aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1c58
call fcn.004ae230
mov dword [ebp - 0x1c54], ecx
mov dword [ebp - 0x1c24], 0
cmp dword [0x52da9c], 1
je 0x48a63f
cmp dword [0x52da0c], 0
je 0x48a644
jmp 0x48c701
mov dword [0x52da9c], 1
push str._OnButtonScanusb_:_Start_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5fd
mov ecx, dword [ebp - 0x1c54]
call fcn.004d14d4
mov dword [ebp - 0x174c], eax
push str.Initial_Card_Spend_Time
mov ecx, dword [ebp - 0x174c]
call fcn.004d176b
mov dword [ebp - 0x1760], 0
jmp 0x48a69a
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x48a6eb
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0x4e68
mov edx, dword [ebp - 0x1c54]
mov byte [edx + ecx + 0x28e4], 0xfe
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + eax*4 + 0x55dc8], 0
je 0x48a6e9
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x55dc8]
mov byte [ecx], 0xfe
jmp 0x48a68b
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0x1538], 0
jne 0x48a72f
push 0
push 0
mov ecx, dword [ebp - 0x1c54]
call fcn.004901a5
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004d14d4
mov dword [ebp - 0x1c20], eax
push str.Scanning..
mov ecx, dword [ebp - 0x1c20]
call fcn.004d176b
mov dword [ebp - 0x1760], 1
jmp 0x48a74a
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x48a7cc
cmp dword [0x52dc2c], 0
je 0x48a775
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x48a7c7
mov eax, dword [ebp - 0x1760]
add eax, 0x608
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.004d14d4
mov ecx, eax
call fcn.00404c30
test eax, eax
je 0x48a7b0
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x48a7c7
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 0
jmp 0x48a73b
cmp dword [0x52da98], 0
jne 0x48a7ef
cmp dword [0x52df00], 0
je 0x48a7ef
push 0x44
push 0
push 0x52da54
call fcn.004adbd0
add esp, 0xc
mov dword [0x52e708], 0
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x26d4], 0
mov dword [0x52e72c], 0
mov dword [0x52e714], 0
push 0x11
push 0
push 0x52e6e0
call fcn.004adbd0
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 0x48a86f
mov eax, dword [ebp - 0x1910]
add eax, 1
mov dword [ebp - 0x1910], eax
cmp dword [ebp - 0x1910], 0x18
jge 0x48a88b
mov ecx, dword [ebp - 0x1910]
mov dword [ecx*4 + 0x52ea78], 1
jmp 0x48a860
call fcn.004983f6
cmp dword [0x52d1d4], 0
je 0x48a990
mov edx, dword [ebp - 0x1c54]
mov eax, dword [edx + 0xdac]
push eax
call fcn.004985c6
add esp, 4
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0xdac], 1
jne 0x48a990
mov dword [ebp - 0x1760], 0
jmp 0x48a8e0
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x10
jge 0x48a980
mov eax, dword [ebp - 0x1760]
cmp dword [eax*4 + 0x52ead8], 0
je 0x48a97b
mov ecx, dword [ebp - 0x1760]
push ecx
push str.PORTINDEX_d
lea edx, [ebp - 0x218]
push edx
call fcn.004c7e32
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0xf2c]
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ecx*4 + 0x52ead8]
push edx
push 0x52814c
lea eax, [ebp - 0xf2c]
push eax
call fcn.004ae0dd
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 0x48a8d1
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0xdac], 0
mov dword [ebp - 0x1760], 1
jmp 0x48a9ab
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x52db88]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x48aa09
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x52e6e0], 0
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x52e718], 0xff
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0x35
mov dword [edx + 0x52df74], 0
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x52e6f4], 0
mov ecx, dword [ebp - 0x1760]
mov dword [ecx*4 + 0x52da10], 1
jmp 0x48a99c
mov ecx, dword [ebp - 0x1c54]
call fcn.0048e575
mov dword [ebp - 0x1760], 0
jmp 0x48aa2f
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x18
jge 0x48abec
cmp dword [0x52d1d4], 0
jne 0x48aa54
mov eax, dword [0x52ea14]
cmp eax, dword [ebp - 0x1760]
jne 0x48aa54
jmp 0x48aa20
cmp dword [0x52d1d4], 0
jne 0x48aa6d
mov ecx, dword [0x52ea10]
cmp ecx, dword [ebp - 0x1760]
jne 0x48aa6d
jmp 0x48aa20
push 0
mov edx, dword [ebp - 0x1730]
push edx
mov eax, dword [ebp - 0x1760]
push eax
call fcn.00498c87
add esp, 0xc
test eax, eax
je 0x48abe7
mov ecx, dword [ebp - 0x1730]
add ecx, 1
mov dword [ebp - 0x1730], ecx
cmp dword [0x52d1d4], 0
je 0x48ab43
cmp dword [0x52e72c], 0
je 0x48ab43
mov dword [0x52e708], 0
mov dword [ebp - 0x1910], 1
jmp 0x48aadb
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x52db88]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x48ab27
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x52e6e0], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x52e718], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x52e6f4], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x52df74], 0
jmp 0x48aacc
push 0
push 0x528158
push str._Fix_Usb_Port__function_only_support_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004cfc0e
jmp 0x48abec
cmp dword [0x52dc10], 0
je 0x48abe7
cmp dword [0x52e72c], 0
jne 0x48abe7
mov dword [0x52e708], 0
mov dword [ebp - 0x1910], 1
jmp 0x48ab82
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x52db88]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x48abce
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x52e6e0], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x52e718], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x52e6f4], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x52df74], 0
jmp 0x48ab73
push 0
push str.WARNNING
push str.RamosProductionMode_cant_work_at_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004cfc0e
jmp 0x48abec
jmp 0x48aa20
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.0040f130
lea ecx, [ebp - 0x228]
call fcn.00408050
push 0xa0
push 0
lea edx, [ebp - 0x1800]
push edx
call fcn.004adbd0
add esp, 0xc
mov dword [ebp - 0x1760], 1
jmp 0x48ac67
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x48ad48
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + ecx*4 + 0x270], 0
jne 0x48ac97
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x52e6e0], 0
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x1538], 0
je 0x48ad43
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov dword [eax + edx*4 + 0x1578], 0
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x1565]
test edx, edx
je 0x48ad08
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x52e6e0]
test ecx, ecx
jne 0x48ad06
push 0
push 1
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
jmp 0x48ad43
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x52e6e0]
cmp ecx, 1
jne 0x48ad43
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x52e6e0], 0
push 0
push 0
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
jmp 0x48ac58
push 6
push 0
push 0x52daa0
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
call fcn.00492a82
mov dword [ebp - 0x1760], 1
jmp 0x48ad7f
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x52db88]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x48c436
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x52e6f4]
test ecx, ecx
jne 0x48ae30
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x1538], 0
je 0x48adfb
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x1565]
test edx, edx
je 0x48adfb
push str.Cant_find_device__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004ade30
add esp, 8
push 0xb0
push 0x32
push 0x80ffff
push 0x528200
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.0046a84c
jmp 0x48ad70
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x52e6e0]
test ecx, ecx
jne 0x48aef7
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004adbd0
add esp, 0xc
push str.No_Card__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004ade30
add esp, 8
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x1538], 0
je 0x48aec2
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + edx*4 + 0x1578], 0xff0000
jne 0x48aec2
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004adbd0
add esp, 0xc
push str.AutoHandler_Skip__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004ade30
add esp, 8
push 0xb1
push 0x32
push 0x80ffff
push 0x528224
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.0046a84c
jmp 0x48ad70
push 0xb1
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040bcce
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x52e6e0]
cmp edx, 1
jne 0x48afe2
mov eax, dword [ebp - 0x1760]
movsx ecx, byte [eax + 0x52e718]
cmp ecx, 0xffffffff
je 0x48afe2
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004adbd0
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.004ae0dd
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.00497eae
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004adbd0
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.004ae0dd
add esp, 0x10
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c2c], 0
jne 0x48b0b1
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004adbd0
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.004ae0dd
add esp, 0xc
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x52e6e0], 0
push 0
push 0x50
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004adbd0
add esp, 0xc
push str.Card_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004ade30
add esp, 8
push 0
push 0x32
push 0xff
push 0x5282e4
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.0046a84c
jmp 0x48ad70
cmp dword [0x52ded4], 0
je 0x48b127
cmp dword [0x52df00], 0
je 0x48b127
mov edx, dword [ebp - 0x1760]
cmp dword [edx*4 + 0x52da54], 0
jne 0x48b127
cmp dword [0x52dafc], 0
jle 0x48b125
mov eax, dword [0x52dafc]
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 [0x52dafc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c9fdd
jmp 0x48b179
cmp dword [0x52dafc], 0
jle 0x48b179
mov eax, dword [0x52dafc]
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 [0x52dafc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c9fdd
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.004956c0
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 0x52e408
call fcn.004d22cf
mov dword [ebp - 0x1c58], eax
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040b712
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004adbd0
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.004ae0dd
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.0049fc8c
add esp, 8
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x48b309
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004adbd0
add esp, 0xc
push str.Command_flow_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004ade30
add esp, 8
push 0
push 0x32
push 0xff
push 0x528374
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.0046a84c
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x52e6e0], 0
push 0
push 0x51
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.00498006
add esp, 0xc
jmp 0x48ad70
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 0x48b34e
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0x2524], 0
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
je 0x48bb22
push 0xc00
lea eax, [ebp - 0xe28]
push eax
mov ecx, dword [ebp - 0x1804]
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.004a02be
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x48b434
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004adbd0
add esp, 0xc
push str.Read_FlashID_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004ade30
add esp, 8
push 0
push 0x32
push 0xff
push 0x52838c
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.0046a84c
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x52e6e0], 0
push 0
push 0x52
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00498006
add esp, 0xc
jmp 0x48ad70
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
test edx, edx
jne 0x48b6b2
mov dword [ebp - 0x210], 0
jmp 0x48b463
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x20
jge 0x48b61c
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xec
je 0x48b574
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x98
je 0x48b574
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0xc1
je 0x48b574
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x45
je 0x48b574
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0xad
je 0x48b574
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x2c
je 0x48b574
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xb5
je 0x48b574
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
je 0x48b574
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x89
je 0x48b574
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 7
je 0x48b574
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
jne 0x48b617
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf7]
cmp eax, 0xff
je 0x48b617
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf6]
cmp edx, 0xff
je 0x48b617
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf5]
cmp ecx, 0xff
je 0x48b617
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf4]
cmp eax, 0xff
je 0x48b617
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf3]
cmp edx, 0xff
je 0x48b617
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.004ae270
add esp, 0xc
jmp 0x48b61c
jmp 0x48b454
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 [0x52dafc], 0
jle 0x48b6b2
mov eax, dword [0x52dafc]
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 [0x52dafc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c9fdd
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
cmp eax, 1
jne 0x48bb1d
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 0x48b705
mov eax, dword [ebp - 0x210]
add eax, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x400
jge 0x48b993
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b8a1
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 0x48b98e
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 0x48b98e
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 0x48b98e
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 0x48b98e
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 0x48b98e
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 0x48b98e
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.004ae270
add esp, 0xc
jmp 0x48b993
jmp 0x48b6f6
push 0x800
push 0
lea ecx, [ebp - 0x172c]
push ecx
call fcn.004adbd0
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.004a066a
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
je 0x48ba20
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 0x48ba20
mov dword [ebp - 0x1c2c], 0
cmp dword [ebp - 0x1c2c], 0
je 0x48bac9
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 [0x52dafc], 0
jle 0x48bb1d
mov edx, dword [0x52dafc]
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 [0x52dafc]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c9fdd
jmp 0x48bd4c
push 0x800
push 0
lea edx, [ebp - 0x172c]
push edx
call fcn.004adbd0
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.004a066a
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x48bc09
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004adbd0
add esp, 0xc
push str.Read_DriveInfo_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004ade30
add esp, 8
push 0
push 0x32
push 0xff
push 0x5283c8
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.0046a84c
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x52e6e0], 0
push 0
push 0x53
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00498006
add esp, 0xc
jmp 0x48ad70
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.004ae270
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.004adbd0
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x152c]
push ecx
lea edx, [ebp - 0x1744]
push edx
call fcn.004ae270
add esp, 0xc
mov byte [ebp - 0x1734], 0
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004adbd0
add esp, 0xc
lea ecx, [ebp - 0x1744]
push ecx
push str.Ready__FW:__s_
lea edx, [ebp - 0x1a14]
push edx
call fcn.004ae0dd
add esp, 0xc
cmp dword [0x52dafc], 0
jle 0x48bd4c
mov eax, dword [0x52dafc]
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 [0x52dafc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c9fdd
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 0x48be05
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004adbd0
add esp, 0xc
push str.Cant_Detect_Drive__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004ade30
add esp, 8
push 0
push 0x32
push 0xff
push 0x5283f4
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.0046a84c
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x52e6e0], 0
push 0
push 0x54
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0048f326
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.00498006
add esp, 0xc
jmp 0x48ad70
cmp dword [0x52dafc], 0
je 0x48be55
mov edx, dword [ebp - 0x214]
shr edx, 0xb
push edx
push str._d_MB
lea eax, [ebp - 0x20c]
push eax
call fcn.004ae0dd
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x52db00]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c9fdd
cmp dword [0x52db10], 0
jle 0x48bea2
mov edx, dword [ebp - 0x1c24]
push edx
push 0x528400
lea eax, [ebp - 0x20c]
push eax
call fcn.004ae0dd
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x52db10]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004c9fdd
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
jne 0x48c12f
push 0x104
push 0
lea eax, [ebp - 0x190c]
push eax
call fcn.004adbd0
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.004ae0dd
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.004adbd0
add esp, 0xc
lea edx, [ebp - 0x1c1c]
push edx
mov eax, dword [ebp - 0x1804]
push eax
lea ecx, [ebp - 0x175c]
push ecx
call fcn.004a054d
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
lea ecx, [ebp - 0x1c30]
call fcn.004d21ec
cmp dword [ebp - 0x1c2c], 0
je 0x48bfb0
mov dword [ebp - 0x1910], 0
jmp 0x48bf5d
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
cmp dword [ebp - 0x1910], 0xa
jge 0x48bfae
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.004c7e32
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1c30]
call fcn.004d2679
jmp 0x48bf4e
jmp 0x48bfc4
push 0x528458
lea eax, [ebp - 0x1c30]
push eax
call fcn.004c7e32
add esp, 8
cmp dword [0x52db04], 0
jle 0x48bffb
lea ecx, [ebp - 0x1c30]
call fcn.004048d0
push eax
mov ecx, dword [0x52db04]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c9fdd
cmp dword [ebp - 0x1c2c], 0
je 0x48c12f
push 0x52845c
lea ecx, [ebp - 0x1744]
push ecx
call fcn.004ae830
add esp, 8
test eax, eax
jne 0x48c12f
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004adbd0
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.004ae0dd
add esp, 0x28
cmp dword [0x52dafc], 0
jle 0x48c12f
push 0x52e40c
mov eax, dword [0x52dafc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c9fdd
lea eax, [ebp - 0x1a14]
push eax
mov ecx, dword [0x52dafc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004c9fdd
mov ecx, dword [0x52dafc]
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 [0x52db0c], 0
jle 0x48c2e4
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004adbd0
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.0x48c19a.10
mov eax, dword [ebp - 0x1c5c]
xor edx, edx
mov dl, byte [eax + 0x48c73b]
jmp dword [edx*4 + 0x48c70f]
push str.RENESES
push 0x528488
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push 0x52848c
push 0x528490
lea edx, [ebp - 0x20c]
push edx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.MICRON
push 0x52849c
lea eax, [ebp - 0x20c]
push eax
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.SPECTEK
push 0x5284a8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.SANDISK
push 0x5284b4
lea edx, [ebp - 0x20c]
push edx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.TOSHIBA
push 0x5284c0
lea eax, [ebp - 0x20c]
push eax
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.HYNIX
push 0x5284cc
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.INFINEON
push 0x5284dc
lea edx, [ebp - 0x20c]
push edx
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.SAMSUNG
push 0x5284e8
lea eax, [ebp - 0x20c]
push eax
call fcn.004ae0dd
add esp, 0xc
jmp case.0x48c19a.10
push str.INTEL
push 0x5284f4
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ae0dd
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x52db0c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004c9fdd
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.00498006
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004adbd0
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.004ae0dd
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.004956c0
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.004d22cf
mov dword [ebp - 0x1c60], eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.0040b712
cmp dword [0x52dc10], 0
je 0x48c431
push 0x200
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x1760]
push eax
push str.PORT_d
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ae0dd
add esp, 0xc
mov edx, dword [ebp - 0x1c54]
add edx, 0x26d8
push edx
push str.READY
lea eax, [ebp - 0x20c]
push eax
push str.RESULT
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x48ad70
mov dword [ebp - 0x1760], 0
jmp 0x48c451
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
cmp dword [ebp - 0x1760], 0x10
jge 0x48c492
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0xa
xor eax, eax
mov al, byte [ebp + edx - 0x17f7]
test eax, eax
jne 0x48c472
jmp 0x48c442
push 6
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0xa
lea edx, [ebp + ecx - 0x1800]
push edx
push 0x52daa0
call fcn.004ae270
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 0x48c4dd
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
mov ecx, dword [0x52db88]
add ecx, 1
cmp dword [ebp - 0x1760], ecx
jge 0x48c54b
mov edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x52e6e0]
test eax, eax
je 0x48c549
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.004af3c0
add esp, 0x10
call fcn.004af650
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0x218]
add ecx, eax
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x218], ecx
jmp 0x48c4ce
mov eax, dword [ebp - 0x1c54]
xor ecx, ecx
mov cl, byte [eax + 0x118]
test ecx, ecx
je 0x48c5d3
push 6
push 0
lea edx, [ebp - 0x1c38]
push edx
call fcn.004adbd0
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.004972cf
add esp, 8
cmp dword [0x52dc2c], 0
je 0x48c692
mov dword [ebp - 0x1760], 1
jmp 0x48c5fb
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x48c692
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x52e6e0]
cmp edx, 1
jne 0x48c655
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.004d14d4
mov ecx, eax
call fcn.00404c60
jmp 0x48c68d
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.004d14d4
mov ecx, eax
call fcn.00404c60
jmp 0x48c5ec
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x1538], 0
jne 0x48c6d6
push 0
push 1
mov ecx, dword [ebp - 0x1c54]
call fcn.004901a5
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004d14d4
mov dword [ebp - 0x1c20], eax
push str.Scan_Drive
mov ecx, dword [ebp - 0x1c20]
call fcn.004d176b
mov dword [0x52da9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c30]
call fcn.004d2261
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.004d2261
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret