Function at 0x4938b6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f59a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1c58
call fcn.004b9690
mov dword [ebp - 0x1c54], ecx
mov dword [ebp - 0x1c24], 0
cmp dword [0x53bd1c], 1
je 0x4938fa
cmp dword [0x53bc8c], 0
je 0x4938ff
jmp 0x495a07
mov dword [0x53bd1c], 1
push str._OnButtonScanusb_:_Start_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5fd
mov ecx, dword [ebp - 0x1c54]
call fcn.004dc934
mov dword [ebp - 0x174c], eax
push str.Initial_Card_Spend_Time
mov ecx, dword [ebp - 0x174c]
call fcn.004dcbcb
mov dword [ebp - 0x1760], 0
jmp 0x493955
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x4939a6
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0x4e68
mov edx, dword [ebp - 0x1c54]
mov byte [edx + ecx + 0x2fc4], 0xfe
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + eax*4 + 0x564a8], 0
je 0x4939a4
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x564a8]
mov byte [ecx], 0xfe
jmp 0x493946
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0x159c], 0
jne 0x4939ea
push 0
push 0
mov ecx, dword [ebp - 0x1c54]
call fcn.00499eb0
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004dc934
mov dword [ebp - 0x1c20], eax
push str.Scanning..
mov ecx, dword [ebp - 0x1c20]
call fcn.004dcbcb
mov dword [ebp - 0x1760], 1
jmp 0x493a05
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x493a87
cmp dword [0x53beec], 0
je 0x493a30
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x493a82
mov eax, dword [ebp - 0x1760]
add eax, 0x608
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.004dc934
mov ecx, eax
call fcn.00404c40
test eax, eax
je 0x493a6b
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x493a82
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 0
jmp 0x4939f6
cmp dword [0x53bd18], 0
jne 0x493aaa
cmp dword [0x53c1e4], 0
je 0x493aaa
push 0x44
push 0
push 0x53bcd4
call fcn.004b9030
add esp, 0xc
mov dword [0x53ca10], 0
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x2db4], 0
mov dword [0x53ca34], 0
mov dword [0x53ca1c], 0
push 0x11
push 0
push 0x53c9e8
call fcn.004b9030
add esp, 0xc
mov dword [ebp - 0x1730], 1
mov dword [ebp - 0x1748], 0
lea ecx, [ebp - 0x218]
call fcn.004048c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1910], 0
jmp 0x493b2a
mov eax, dword [ebp - 0x1910]
add eax, 1
mov dword [ebp - 0x1910], eax
cmp dword [ebp - 0x1910], 0x18
jge 0x493b46
mov ecx, dword [ebp - 0x1910]
mov dword [ecx*4 + 0x53cd80], 1
jmp 0x493b1b
call fcn.004a3014
cmp dword [0x53b450], 0
je 0x493c4b
mov edx, dword [ebp - 0x1c54]
mov eax, dword [edx + 0xdac]
push eax
call fcn.004a31e4
add esp, 4
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0xdac], 1
jne 0x493c4b
mov dword [ebp - 0x1760], 0
jmp 0x493b9b
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x10
jge 0x493c3b
mov eax, dword [ebp - 0x1760]
cmp dword [eax*4 + 0x53cde0], 0
je 0x493c36
mov ecx, dword [ebp - 0x1760]
push ecx
push str.PORTINDEX_d
lea edx, [ebp - 0x218]
push edx
call fcn.004d3292
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0xf2c]
push eax
call fcn.004b9030
add esp, 0xc
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ecx*4 + 0x53cde0]
push edx
push 0x535f6c
lea eax, [ebp - 0xf2c]
push eax
call fcn.004b953d
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.004048e0
push eax
push str.INITIAL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x493b8c
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0xdac], 0
mov dword [ebp - 0x1760], 1
jmp 0x493c66
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x53be08]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x493cc4
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x53c9e8], 0
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x53ca20], 0xff
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0x35
mov dword [edx + 0x53c264], 0
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x53c9fc], 0
mov ecx, dword [ebp - 0x1760]
mov dword [ecx*4 + 0x53bc90], 1
jmp 0x493c57
mov ecx, dword [ebp - 0x1c54]
call fcn.00498266
mov dword [ebp - 0x1760], 0
jmp 0x493cea
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x18
jge 0x493ea7
cmp dword [0x53b450], 0
jne 0x493d0f
mov eax, dword [0x53cd1c]
cmp eax, dword [ebp - 0x1760]
jne 0x493d0f
jmp 0x493cdb
cmp dword [0x53b450], 0
jne 0x493d28
mov ecx, dword [0x53cd18]
cmp ecx, dword [ebp - 0x1760]
jne 0x493d28
jmp 0x493cdb
push 0
mov edx, dword [ebp - 0x1730]
push edx
mov eax, dword [ebp - 0x1760]
push eax
call fcn.004a38a5
add esp, 0xc
test eax, eax
je 0x493ea2
mov ecx, dword [ebp - 0x1730]
add ecx, 1
mov dword [ebp - 0x1730], ecx
cmp dword [0x53b450], 0
je 0x493dfe
cmp dword [0x53ca34], 0
je 0x493dfe
mov dword [0x53ca10], 0
mov dword [ebp - 0x1910], 1
jmp 0x493d96
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x53be08]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x493de2
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x53c9e8], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x53ca20], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x53c9fc], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x53c264], 0
jmp 0x493d87
push 0
push 0x535f78
push str._Fix_Usb_Port__function_only_support_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004db06e
jmp 0x493ea7
cmp dword [0x53bec8], 0
je 0x493ea2
cmp dword [0x53ca34], 0
jne 0x493ea2
mov dword [0x53ca10], 0
mov dword [ebp - 0x1910], 1
jmp 0x493e3d
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
mov eax, dword [0x53be08]
add eax, 1
cmp dword [ebp - 0x1910], eax
jge 0x493e89
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x53c9e8], 0
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x53ca20], 0xff
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x53c9fc], 0
mov ecx, dword [ebp - 0x1910]
imul ecx, ecx, 0x35
mov dword [ecx + 0x53c264], 0
jmp 0x493e2e
push 0
push str.WARNNING
push str.RamosProductionMode_cant_work_at_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.004db06e
jmp 0x493ea7
jmp 0x493cdb
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.004048c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a1c]
call fcn.0040ff50
lea ecx, [ebp - 0x228]
call fcn.004094f0
push 0xa0
push 0
lea edx, [ebp - 0x1800]
push edx
call fcn.004b9030
add esp, 0xc
mov dword [ebp - 0x1760], 1
jmp 0x493f22
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x494003
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + ecx*4 + 0x270], 0
jne 0x493f52
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x53c9e8], 0
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x159c], 0
je 0x493ffe
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov dword [eax + edx*4 + 0x15dc], 0
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x15c9]
test edx, edx
je 0x493fc3
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x53c9e8]
test ecx, ecx
jne 0x493fc1
push 0
push 1
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
jmp 0x493ffe
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x53c9e8]
cmp ecx, 1
jne 0x493ffe
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x53c9e8], 0
push 0
push 0
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
jmp 0x493f13
push 6
push 0
push 0x53bd20
call fcn.004b9030
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
call fcn.0049ca70
mov dword [ebp - 0x1760], 1
jmp 0x49403a
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x53be08]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x49573c
mov eax, dword [0x53bd7c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004072d7
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x53c9fc]
test ecx, ecx
jne 0x49410e
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x159c], 0
je 0x4940d9
mov ecx, dword [ebp - 0x1c54]
add ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x15c9]
test edx, edx
je 0x4940d9
push str.Cant_find_device__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9290
add esp, 8
push 0xb0
push 0x32
push 0x80ffff
push 0x536020
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.0047107d
jmp 0x49402b
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x53c9e8]
test ecx, ecx
jne 0x4941d5
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9030
add esp, 0xc
push str.No_Card__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9290
add esp, 8
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x159c], 0
je 0x4941a0
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + edx*4 + 0x15dc], 0xff0000
jne 0x4941a0
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9030
add esp, 0xc
push str.AutoHandler_Skip__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9290
add esp, 8
push 0xb1
push 0x32
push 0x80ffff
push 0x536044
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.0047107d
jmp 0x49402b
push 0xb1
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040c7ae
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x53c9e8]
cmp edx, 1
jne 0x4942c0
mov eax, dword [ebp - 0x1760]
movsx ecx, byte [eax + 0x53ca20]
cmp ecx, 0xffffffff
je 0x4942c0
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004b9030
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.004b953d
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.004a2acc
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004b9030
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.004b953d
add esp, 0x10
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c2c], 0
jne 0x49438f
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004b9030
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.004b953d
add esp, 0xc
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x53c9e8], 0
push 0
push 0x50
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9030
add esp, 0xc
push str.Card_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9290
add esp, 8
push 0
push 0x32
push 0xff
push 0x536104
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.0047107d
jmp 0x49402b
cmp dword [0x53c1b8], 0
je 0x494405
cmp dword [0x53c1e4], 0
je 0x494405
mov edx, dword [ebp - 0x1760]
cmp dword [edx*4 + 0x53bcd4], 0
jne 0x494405
cmp dword [0x53bd7c], 0
jle 0x494403
mov eax, dword [0x53bd7c]
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.0040732c
push str.No_Serial_Number_in_Barcode_
mov eax, dword [0x53bd7c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004d543d
jmp 0x494457
cmp dword [0x53bd7c], 0
jle 0x494457
mov eax, dword [0x53bd7c]
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.0040732c
push str.Ready
mov eax, dword [0x53bd7c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004d543d
lea ecx, [ebp - 0x228]
call fcn.00409580
push eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.004098c0
lea edx, [ebp - 0x1c40]
push edx
lea ecx, [ebp - 0x228]
call fcn.004a0200
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 0x53c710
call fcn.004dd72f
mov dword [ebp - 0x1c58], eax
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0040c1f2
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004b9030
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.004b953d
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.004ab048
add esp, 8
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x4945e7
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9030
add esp, 0xc
push str.Command_flow_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9290
add esp, 8
push 0
push 0x32
push 0xff
push 0x536194
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.0047107d
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x53c9e8], 0
push 0
push 0x51
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004a2c24
add esp, 0xc
jmp 0x49402b
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 0x49462c
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0x268c], 0
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
je 0x494e00
push 0xc00
lea eax, [ebp - 0xe28]
push eax
mov ecx, dword [ebp - 0x1804]
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.004ab67a
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x494712
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9030
add esp, 0xc
push str.Read_FlashID_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9290
add esp, 8
push 0
push 0x32
push 0xff
push 0x5361ac
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.0047107d
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x53c9e8], 0
push 0
push 0x52
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.004a2c24
add esp, 0xc
jmp 0x49402b
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
test edx, edx
jne 0x494990
mov dword [ebp - 0x210], 0
jmp 0x494741
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x20
jge 0x4948fa
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xec
je 0x494852
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x98
je 0x494852
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0xc1
je 0x494852
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x45
je 0x494852
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0xad
je 0x494852
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x2c
je 0x494852
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xb5
je 0x494852
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
je 0x494852
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x89
je 0x494852
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 7
je 0x494852
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x20
jne 0x4948f5
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf7]
cmp eax, 0xff
je 0x4948f5
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf6]
cmp edx, 0xff
je 0x4948f5
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf5]
cmp ecx, 0xff
je 0x4948f5
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf4]
cmp eax, 0xff
je 0x4948f5
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf3]
cmp edx, 0xff
je 0x4948f5
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.004b96d0
add esp, 0xc
jmp 0x4948fa
jmp 0x494732
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 [0x53bd7c], 0
jle 0x494990
mov eax, dword [0x53bd7c]
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.0040732c
push str.Ready__RomMode_
mov eax, dword [0x53bd7c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004d543d
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
cmp eax, 1
jne 0x494dfb
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 0x4949e3
mov eax, dword [ebp - 0x210]
add eax, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0x800
jge 0x494c71
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494b7f
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 0x494c6c
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 0x494c6c
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 0x494c6c
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 0x494c6c
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 0x494c6c
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 0x494c6c
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.004b96d0
add esp, 0xc
jmp 0x494c71
jmp 0x4949d4
push 0x800
push 0
lea ecx, [ebp - 0x172c]
push ecx
call fcn.004b9030
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.004ababe
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
je 0x494cfe
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 0x494cfe
mov dword [ebp - 0x1c2c], 0
cmp dword [ebp - 0x1c2c], 0
je 0x494da7
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 [0x53bd7c], 0
jle 0x494dfb
mov edx, dword [0x53bd7c]
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.0040732c
push str.Ready__MPISP_
mov edx, dword [0x53bd7c]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004d543d
jmp 0x49502a
push 0x800
push 0
lea edx, [ebp - 0x172c]
push edx
call fcn.004b9030
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.004ababe
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x494ee7
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9030
add esp, 0xc
push str.Read_DriveInfo_Fail__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9290
add esp, 8
push 0
push 0x32
push 0xff
push 0x5361e8
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.0047107d
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x53c9e8], 0
push 0
push 0x53
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.004a2c24
add esp, 0xc
jmp 0x49402b
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.004b96d0
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.004b9030
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x152c]
push ecx
lea edx, [ebp - 0x1744]
push edx
call fcn.004b96d0
add esp, 0xc
mov byte [ebp - 0x1734], 0
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9030
add esp, 0xc
lea ecx, [ebp - 0x1744]
push ecx
push str.Ready__FW:__s_
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b953d
add esp, 0xc
cmp dword [0x53bd7c], 0
jle 0x49502a
mov eax, dword [0x53bd7c]
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.0040732c
lea eax, [ebp - 0x1a14]
push eax
mov ecx, dword [0x53bd7c]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004d543d
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 0x4950e3
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004b9030
add esp, 0xc
push str.Cant_Detect_Drive__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004b9290
add esp, 8
push 0
push 0x32
push 0xff
push 0x536214
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.0047107d
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x53c9e8], 0
push 0
push 0x54
push 0xff
mov edx, dword [ebp - 0x1760]
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.00499017
push 1
mov eax, dword [ebp - 0x1804]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.004a2c24
add esp, 0xc
jmp 0x49402b
cmp dword [0x53bd7c], 0
je 0x495133
mov edx, dword [ebp - 0x214]
shr edx, 0xb
push edx
push str._d_MB
lea eax, [ebp - 0x20c]
push eax
call fcn.004b953d
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x53bd80]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004d543d
cmp dword [0x53bd90], 0
jle 0x495180
mov edx, dword [ebp - 0x1c24]
push edx
push 0x536220
lea eax, [ebp - 0x20c]
push eax
call fcn.004b953d
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x53bd90]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.004d543d
mov edx, dword [ebp - 0x1c28]
and edx, 0xff
cmp edx, 2
jne 0x495435
push 0x104
push 0
lea eax, [ebp - 0x190c]
push eax
call fcn.004b9030
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.004b953d
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.004b9030
add esp, 0xc
lea edx, [ebp - 0x1c1c]
push edx
mov eax, dword [ebp - 0x1804]
push eax
lea ecx, [ebp - 0x175c]
push ecx
call fcn.004ab9a1
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
lea ecx, [ebp - 0x1c30]
call fcn.004dd64c
cmp dword [ebp - 0x1c2c], 0
je 0x49528e
mov dword [ebp - 0x1910], 0
jmp 0x49523b
mov edx, dword [ebp - 0x1910]
add edx, 1
mov dword [ebp - 0x1910], edx
cmp dword [ebp - 0x1910], 0xa
jge 0x49528c
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.004d3292
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x1c30]
call fcn.004ddad9
jmp 0x49522c
jmp 0x4952a2
push 0x536278
lea eax, [ebp - 0x1c30]
push eax
call fcn.004d3292
add esp, 8
cmp dword [0x53bd84], 0
jle 0x4952d9
lea ecx, [ebp - 0x1c30]
call fcn.004048e0
push eax
mov ecx, dword [0x53bd84]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004d543d
cmp dword [ebp - 0x1c2c], 0
je 0x495435
push 0x53627c
lea ecx, [ebp - 0x1744]
push ecx
call fcn.004b9c90
add esp, 8
test eax, eax
jne 0x495435
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004b9030
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.004b953d
add esp, 0x28
cmp dword [0x53bd7c], 0
jle 0x495435
push 0x53c714
mov eax, dword [0x53bd7c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004d543d
lea eax, [ebp - 0x1a14]
push eax
mov ecx, dword [0x53bd7c]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004d543d
mov ecx, dword [0x53bd7c]
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.0040732c
mov ecx, dword [0x53bd7c]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
push 0
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.004072d7
cmp dword [0x53bd8c], 0
jle 0x4955ea
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b9030
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.0x4954a0.10
mov eax, dword [ebp - 0x1c5c]
xor edx, edx
mov dl, byte [eax + 0x495a41]
jmp dword [edx*4 + 0x495a15]
push str.RENESES
push 0x5362a8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push 0x5362ac
push 0x5362b0
lea edx, [ebp - 0x20c]
push edx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.MICRON
push 0x5362bc
lea eax, [ebp - 0x20c]
push eax
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.SPECTEK
push 0x5362c8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.SANDISK
push 0x5362d4
lea edx, [ebp - 0x20c]
push edx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.TOSHIBA
push 0x5362e0
lea eax, [ebp - 0x20c]
push eax
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.HYNIX
push 0x5362ec
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.INFINEON
push 0x5362fc
lea edx, [ebp - 0x20c]
push edx
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.SAMSUNG
push 0x536308
lea eax, [ebp - 0x20c]
push eax
call fcn.004b953d
add esp, 0xc
jmp case.0x4954a0.10
push str.INTEL
push 0x536314
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b953d
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x53bd8c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.004d543d
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.004a2c24
add esp, 0xc
push 0x200
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004b9030
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.004b953d
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.00409580
push eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.004098c0
lea edx, [ebp - 0x1c4c]
push edx
lea ecx, [ebp - 0x228]
call fcn.004a0200
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.004dd72f
mov dword [ebp - 0x1c60], eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.0040c1f2
cmp dword [0x53bec8], 0
je 0x495737
push 0x200
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x1760]
push eax
push str.PORT_d
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004b953d
add esp, 0xc
mov edx, dword [ebp - 0x1c54]
add edx, 0x2db8
push edx
push str.READY
lea eax, [ebp - 0x20c]
push eax
push str.RESULT
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x49402b
mov dword [ebp - 0x1760], 0
jmp 0x495757
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
cmp dword [ebp - 0x1760], 0x10
jge 0x495798
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0xa
xor eax, eax
mov al, byte [ebp + edx - 0x17f7]
test eax, eax
jne 0x495778
jmp 0x495748
push 6
mov ecx, dword [ebp - 0x1760]
imul ecx, ecx, 0xa
lea edx, [ebp + ecx - 0x1800]
push edx
push 0x53bd20
call fcn.004b96d0
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 0x4957e3
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
mov ecx, dword [0x53be08]
add ecx, 1
cmp dword [ebp - 0x1760], ecx
jge 0x495851
mov edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x53c9e8]
test eax, eax
je 0x49584f
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.004ba820
add esp, 0x10
call fcn.004baab0
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0x218]
add ecx, eax
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x218], ecx
jmp 0x4957d4
mov eax, dword [ebp - 0x1c54]
xor ecx, ecx
mov cl, byte [eax + 0x118]
test ecx, ecx
je 0x4958d9
push 6
push 0
lea edx, [ebp - 0x1c38]
push edx
call fcn.004b9030
add esp, 0xc
mov byte [ebp - 0x1c38], pe_nt_image_headers32
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.004a1eed
add esp, 8
cmp dword [0x53beec], 0
je 0x495998
mov dword [ebp - 0x1760], 1
jmp 0x495901
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x495998
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x53c9e8]
cmp edx, 1
jne 0x49595b
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.004dc934
mov ecx, eax
call fcn.00404c70
jmp 0x495993
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.004dc934
mov ecx, eax
call fcn.00404c70
jmp 0x4958f2
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x159c], 0
jne 0x4959dc
push 0
push 1
mov ecx, dword [ebp - 0x1c54]
call fcn.00499eb0
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.004dc934
mov dword [ebp - 0x1c20], eax
push str.Scan_Drive
mov ecx, dword [ebp - 0x1c20]
call fcn.004dcbcb
mov dword [0x53bd1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c30]
call fcn.004dd6c1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.004dd6c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret