Function at 0x47604f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525eea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1c58
call fcn.004e9ae0
mov dword [ebp - 0x1c54], ecx
mov dword [ebp - 0x1c24], 0
cmp dword [0x56e17c], 1
je 0x476093
cmp dword [0x56e0ec], 0
je 0x476098
jmp 0x477f24
mov dword [0x56e17c], 1
push str._OnButtonScanusb_:_Start_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5fd
mov ecx, dword [ebp - 0x1c54]
call fcn.0050d114
mov dword [ebp - 0x174c], eax
push str.Initial_Card_Spend_Time
mov ecx, dword [ebp - 0x174c]
call fcn.0050d3ab
mov dword [ebp - 0x1760], 0
jmp 0x4760ee
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x11
jge 0x476125
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + ecx*4 + 0x3f50], 0
je 0x476123
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov edx, dword [ecx + eax*4 + 0x3f50]
mov byte [edx], 0xfe
jmp 0x4760df
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + 0x1474], 0
jne 0x476169
push 0
push 0
mov ecx, dword [ebp - 0x1c54]
call fcn.0047a278
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.0050d114
mov dword [ebp - 0x1c20], eax
push str.Scanning..
mov ecx, dword [ebp - 0x1c20]
call fcn.0050d3ab
mov dword [ebp - 0x1760], 1
jmp 0x476184
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
cmp dword [ebp - 0x1760], 0x11
jge 0x4761e2
mov edx, dword [ebp - 0x1760]
add edx, 0x608
push edx
mov ecx, dword [ebp - 0x1c54]
call fcn.0050d114
mov ecx, eax
call fcn.00406e00
test eax, eax
je 0x4761c9
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x270], 1
jmp 0x4761e0
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov dword [eax + edx*4 + 0x270], 0
jmp 0x476175
cmp dword [0x56e178], 0
jne 0x476205
cmp dword [0x56e338], 0
je 0x476205
push 0x44
push 0
push 0x56e134
call fcn.004e9480
add esp, 0xc
mov dword [0x674480], 0
mov dword [0x6744a4], 0
mov dword [0x67448c], 0
push 0x11
push 0
push 0x674458
call fcn.004e9480
add esp, 0xc
mov dword [ebp - 0x1730], 1
mov dword [ebp - 0x1748], 0
lea ecx, [ebp - 0x218]
call fcn.004046f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1910], 0
jmp 0x476275
mov ecx, dword [ebp - 0x1910]
add ecx, 1
mov dword [ebp - 0x1910], ecx
cmp dword [ebp - 0x1910], 0x18
jge 0x476291
mov edx, dword [ebp - 0x1910]
mov dword [edx*4 + 0x6747e8], 1
jmp 0x476266
call fcn.004ba5eb
cmp dword [0x56d5a8], 0
je 0x476396
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xdac]
push ecx
call fcn.004ba7bb
add esp, 4
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0xdac], 1
jne 0x476396
mov dword [ebp - 0x1760], 0
jmp 0x4762e6
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x10
jge 0x476386
mov ecx, dword [ebp - 0x1760]
cmp dword [ecx*4 + 0x674848], 0
je 0x476381
mov edx, dword [ebp - 0x1760]
push edx
push str.PORTINDEX_d
lea eax, [ebp - 0x218]
push eax
call fcn.00503a72
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0xf2c]
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0x1760]
mov eax, dword [edx*4 + 0x674848]
push eax
push 0x55fb6c
lea ecx, [ebp - 0xf2c]
push ecx
call fcn.004e998d
add esp, 0xc
mov edx, dword [ebp - 0x1c54]
add edx, 0xeb4
push edx
lea eax, [ebp - 0xf2c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00404710
push eax
push str.INITIAL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4762d7
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0xdac], 0
mov dword [ebp - 0x1760], 1
jmp 0x4763b1
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
mov eax, dword [0x56e268]
add eax, 1
cmp dword [ebp - 0x1760], eax
jge 0x47640e
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x674458], 0
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x674490], 0xff
mov eax, dword [ebp - 0x1760]
imul eax, eax, 0x35
mov dword [eax + 0x56e39c], 0
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x67446c], 0
mov edx, dword [ebp - 0x1760]
mov dword [edx*4 + 0x56e0f0], 1
jmp 0x4763a2
mov ecx, dword [ebp - 0x1c54]
call fcn.004791fc
mov dword [ebp - 0x1760], 0
jmp 0x476434
mov eax, dword [ebp - 0x1760]
add eax, 1
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0x18
jge 0x476548
cmp dword [0x56d5a8], 0
jne 0x47645a
mov ecx, dword [0x674784]
cmp ecx, dword [ebp - 0x1760]
jne 0x47645a
jmp 0x476425
cmp dword [0x56d5a8], 0
jne 0x476473
mov edx, dword [0x674780]
cmp edx, dword [ebp - 0x1760]
jne 0x476473
jmp 0x476425
push 0
mov eax, dword [ebp - 0x1730]
push eax
mov ecx, dword [ebp - 0x1760]
push ecx
call fcn.004bae7c
add esp, 0xc
test eax, eax
je 0x47649e
mov edx, dword [ebp - 0x1730]
add edx, 1
mov dword [ebp - 0x1730], edx
cmp dword [0x56d5a8], 0
je 0x476543
cmp dword [0x6744a4], 0
je 0x476543
mov dword [0x674480], 0
mov dword [ebp - 0x1910], 1
jmp 0x4764dd
mov eax, dword [ebp - 0x1910]
add eax, 1
mov dword [ebp - 0x1910], eax
mov ecx, dword [0x56e268]
add ecx, 1
cmp dword [ebp - 0x1910], ecx
jge 0x47652a
mov edx, dword [ebp - 0x1910]
mov byte [edx + 0x674458], 0
mov eax, dword [ebp - 0x1910]
mov byte [eax + 0x674490], 0xff
mov ecx, dword [ebp - 0x1910]
mov byte [ecx + 0x67446c], 0
mov edx, dword [ebp - 0x1910]
imul edx, edx, 0x35
mov dword [edx + 0x56e39c], 0
jmp 0x4764ce
push 0
push str.WARNNING
push str._Fix_Usb_Port__function_only_support_Not_SMI_Tester_device.
mov ecx, dword [ebp - 0x1c54]
call fcn.0050b84e
jmp 0x476548
jmp 0x476425
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.004046f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a1c]
call fcn.00439830
lea ecx, [ebp - 0x228]
call fcn.0040af10
push 0xa0
push 0
lea eax, [ebp - 0x1800]
push eax
call fcn.004e9480
add esp, 0xc
mov dword [ebp - 0x1760], 1
jmp 0x4765c3
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
cmp dword [ebp - 0x1760], 0x11
jge 0x4766a7
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
cmp dword [eax + edx*4 + 0x270], 0
jne 0x4765f3
mov ecx, dword [ebp - 0x1760]
mov byte [ecx + 0x674458], 0
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0x1474], 0
je 0x4766a2
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + eax*4 + 0x14b0], 0
mov edx, dword [ebp - 0x1c54]
add edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x149d]
test eax, eax
je 0x476667
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x674458]
test edx, edx
jne 0x476665
push 0
push 0xff
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
jmp 0x4766a2
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x674458]
cmp edx, 1
jne 0x4766a2
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x674458], 0
push 0
push 0
push 0xff
mov ecx, dword [ebp - 0x1760]
push ecx
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
jmp 0x4765b4
push 6
push 0
push 0x56e180
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
call fcn.0047c70a
mov dword [ebp - 0x1760], 1
jmp 0x4766de
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
mov eax, dword [0x56e268]
add eax, 1
cmp dword [ebp - 0x1760], eax
jge 0x477d18
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x67446c]
test edx, edx
jne 0x47678e
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x1474], 0
je 0x476759
mov edx, dword [ebp - 0x1c54]
add edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x149d]
test eax, eax
je 0x476759
push str.Cant_find_device__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e96e0
add esp, 8
push 0xb0
push 0x32
push 0x80ffff
push 0x55fbd8
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.00463ad1
jmp 0x4766cf
mov ecx, dword [ebp - 0x1760]
xor edx, edx
mov dl, byte [ecx + 0x674458]
test edx, edx
jne 0x476855
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e9480
add esp, 0xc
push str.No_Card__
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e96e0
add esp, 8
mov edx, dword [ebp - 0x1c54]
cmp dword [edx + 0x1474], 0
je 0x476820
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + eax*4 + 0x14b0], 0xff0000
jne 0x476820
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e9480
add esp, 0xc
push str.AutoHandler_Skip__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e96e0
add esp, 8
push 0xb1
push 0x32
push 0x80ffff
push 0x55fbfc
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.00463ad1
jmp 0x4766cf
push 0xb1
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.0043a77e
mov edx, dword [ebp - 0x1760]
xor eax, eax
mov al, byte [edx + 0x674458]
cmp eax, 1
jne 0x476940
mov ecx, dword [ebp - 0x1760]
movsx edx, byte [ecx + 0x674490]
cmp edx, 0xffffffff
je 0x476940
push 0x104
push 0
lea eax, [ebp - 0x190c]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x1760]
push ecx
push str._OnButtonScanusb__:____d___Open_handle_again_____________n
lea edx, [ebp - 0x190c]
push edx
call fcn.004e998d
add esp, 0xc
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
lea ecx, [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004ba0a3
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
push 0x104
push 0
lea eax, [ebp - 0x190c]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
push str._OnButtonScanusb__:____d___Handle__0x_lx_____________n
lea eax, [ebp - 0x190c]
push eax
call fcn.004e998d
add esp, 0x10
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x1c2c], 0
jne 0x476a0f
push 0x104
push 0
lea edx, [ebp - 0x190c]
push edx
call fcn.004e9480
add esp, 0xc
mov eax, dword [ebp - 0x1760]
push eax
push str._OnButtonScanusb__:____d___Open_handle_fail_____________n
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004e998d
add esp, 0xc
lea edx, [ebp - 0x190c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1760]
mov byte [eax + 0x674458], 0
push 0
push 0x50
push 0xff
mov ecx, dword [ebp - 0x1760]
push ecx
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
push 0x104
push 0
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e9480
add esp, 0xc
push str.Card_Fail__
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e96e0
add esp, 8
push 0
push 0x32
push 0xff
push 0x55fcbc
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.00463ad1
jmp 0x4766cf
cmp dword [0x56e314], 0
je 0x476a87
cmp dword [0x56e338], 0
je 0x476a87
mov eax, dword [ebp - 0x1760]
cmp dword [eax*4 + 0x56e134], 0
jne 0x476a87
cmp dword [0x56e1dc], 0
jle 0x476a85
mov ecx, dword [0x56e1dc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
push 0xa
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00408d3c
push str.No_Serial_Number_in_Barcode_
mov ecx, dword [0x56e1dc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00505c1d
jmp 0x476adb
cmp dword [0x56e1dc], 0
jle 0x476adb
mov ecx, dword [0x56e1dc]
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.00408d3c
push str.Ready
mov ecx, dword [0x56e1dc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00505c1d
lea ecx, [ebp - 0x228]
call fcn.0040afa0
push eax
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + ecx*4 + 0x22c]
call fcn.0040b350
lea eax, [ebp - 0x1c40]
push eax
lea ecx, [ebp - 0x228]
call fcn.0047ea70
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 0x56e80c
call fcn.0050df0f
mov dword [ebp - 0x1c58], eax
mov edx, dword [ebp - 0x1760]
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + edx*4 + 0x22c]
call fcn.0043a1c2
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004e9480
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.004e998d
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.004c026c
add esp, 8
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x476c6b
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e9480
add esp, 0xc
push str.Command_flow_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e96e0
add esp, 8
push 0
push 0x32
push 0xff
push 0x55fd4c
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.00463ad1
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x674458], 0
push 0
push 0x51
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004ba1fb
add esp, 0xc
jmp 0x4766cf
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 0x477461
push 0xc00
lea ecx, [ebp - 0xe28]
push ecx
mov edx, dword [ebp - 0x1804]
push edx
lea eax, [ebp - 0x175c]
push eax
call fcn.004c089e
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x476d75
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e9480
add esp, 0xc
push str.Read_FlashID_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e96e0
add esp, 8
push 0
push 0x32
push 0xff
push 0x55fd64
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.00463ad1
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x674458], 0
push 0
push 0x52
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004ba1fb
add esp, 0xc
jmp 0x4766cf
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
test eax, eax
jne 0x476ff3
mov dword [ebp - 0x210], 0
jmp 0x476da3
mov ecx, dword [ebp - 0x210]
add ecx, 1
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0x20
jge 0x476f5c
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0xec
je 0x476eb4
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x98
je 0x476eb4
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0xc1
je 0x476eb4
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0x45
je 0x476eb4
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0xad
je 0x476eb4
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x2c
je 0x476eb4
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 0xb5
je 0x476eb4
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x20
je 0x476eb4
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf8]
cmp ecx, 0x89
je 0x476eb4
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf8]
cmp eax, 7
je 0x476eb4
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf8]
cmp edx, 0x20
jne 0x476f57
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf7]
cmp ecx, 0xff
je 0x476f57
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf6]
cmp eax, 0xff
je 0x476f57
mov ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx*8 - 0xdf5]
cmp edx, 0xff
je 0x476f57
mov eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax*8 - 0xdf4]
cmp ecx, 0xff
je 0x476f57
mov edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx*8 - 0xdf3]
cmp eax, 0xff
je 0x476f57
push 8
mov ecx, dword [ebp - 0x210]
lea edx, [ebp + ecx*8 - 0xdf8]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
imul eax, eax, 0xa
lea ecx, [ebp + eax - 0x1800]
push ecx
call fcn.004e9b20
add esp, 0xc
jmp 0x476f5c
jmp 0x476d94
mov edx, dword [ebp - 0xe14]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0xe13]
and eax, 0xff
shl eax, 0x10
add edx, eax
mov ecx, dword [ebp - 0xe12]
and ecx, 0xff
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0xe11]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x214], edx
cmp dword [0x56e1dc], 0
jle 0x476ff3
mov ecx, dword [0x56e1dc]
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.00408d3c
push str.Ready__RomMode_
mov ecx, dword [0x56e1dc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00505c1d
mov ecx, dword [ebp - 0x1c28]
and ecx, 0xff
cmp ecx, 1
jne 0x47745c
mov edx, dword [ebp - 0xe17]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0xe18]
and eax, 0xff
add edx, eax
mov word [ebp - 0x1750], dx
mov dword [ebp - 0x210], 0
jmp 0x477046
mov ecx, dword [ebp - 0x210]
add ecx, 8
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0x400
jge 0x4772d5
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0xec
je 0x4771e3
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0x98
je 0x4771e3
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0xc1
je 0x4771e3
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0x45
je 0x4771e3
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0xad
je 0x4771e3
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0x2c
je 0x4771e3
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 0xb5
je 0x4771e3
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0x20
je 0x4771e3
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe28]
cmp ecx, 0x89
je 0x4771e3
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe28]
cmp eax, 7
je 0x4771e3
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe28]
cmp edx, 0x20
jne 0x4772d0
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe27]
cmp ecx, 0xff
je 0x4772d0
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe26]
cmp eax, 0xff
je 0x4772d0
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
xor edx, edx
mov dl, byte [ebp + ecx - 0xe25]
cmp edx, 0xff
je 0x4772d0
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
add eax, dword [ebp - 0x210]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xe24]
cmp ecx, 0xff
je 0x4772d0
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
add edx, dword [ebp - 0x210]
xor eax, eax
mov al, byte [ebp + edx - 0xe23]
cmp eax, 0xff
je 0x4772d0
push 8
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
add ecx, dword [ebp - 0x210]
lea edx, [ebp + ecx - 0xe28]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
imul eax, eax, 0xa
lea ecx, [ebp + eax - 0x1800]
push ecx
call fcn.004e9b20
add esp, 0xc
jmp 0x4772d5
jmp 0x477037
push 0x800
push 0
lea edx, [ebp - 0x172c]
push edx
call fcn.004e9480
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.004c0c7d
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
je 0x477362
mov eax, dword [ebp - 0x171b]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0x171c]
and ecx, 0xff
add eax, ecx
mov word [ebp - 0x1750], ax
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
xor eax, eax
mov al, byte [ebp + edx - 0x163c]
test eax, eax
jne 0x477362
mov dword [ebp - 0x1c2c], 0
cmp dword [ebp - 0x1c2c], 0
je 0x47740a
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
xor edx, edx
mov dl, byte [ebp + ecx - 0x16c9]
shl edx, 0x18
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x16ca]
shl ecx, 0x10
add edx, ecx
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x16cb]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x1750]
and eax, 0xffff
xor ecx, ecx
mov cl, byte [ebp + eax - 0x16cc]
add edx, ecx
mov dword [ebp - 0x214], edx
mov edx, dword [ebp - 0x1750]
and edx, 0xffff
xor eax, eax
mov al, byte [ebp + edx - 0x16ed]
shl eax, 8
mov ecx, dword [ebp - 0x1750]
and ecx, 0xffff
xor edx, edx
mov dl, byte [ebp + ecx - 0x16ee]
add eax, edx
mov dword [ebp - 0x1c24], eax
cmp dword [0x56e1dc], 0
jle 0x47745c
mov eax, dword [0x56e1dc]
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.00408d3c
push str.Ready__MPISP_
mov eax, dword [0x56e1dc]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00505c1d
jmp 0x47768c
push 0x800
push 0
lea eax, [ebp - 0x172c]
push eax
call fcn.004e9480
add esp, 0xc
push 0x800
lea ecx, [ebp - 0x172c]
push ecx
mov edx, dword [ebp - 0x1804]
push edx
lea eax, [ebp - 0x175c]
push eax
call fcn.004c0c7d
add esp, 0x10
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0
jne 0x477548
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e9480
add esp, 0xc
push str.Read_DriveInfo_Fail__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e96e0
add esp, 8
push 0
push 0x32
push 0xff
push 0x55fda0
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.00463ad1
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x674458], 0
push 0
push 0x53
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004ba1fb
add esp, 0xc
jmp 0x4766cf
push 6
lea eax, [ebp - 0x163c]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
imul ecx, ecx, 0xa
lea edx, [ebp + ecx - 0x1800]
push edx
call fcn.004e9b20
add esp, 0xc
mov eax, dword [ebp - 0x16c9]
and eax, 0xff
shl eax, 0x18
mov ecx, dword [ebp - 0x16ca]
and ecx, 0xff
shl ecx, 0x10
add eax, ecx
mov edx, dword [ebp - 0x16cb]
and edx, 0xff
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x16cc]
and ecx, 0xff
add eax, ecx
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x16ed]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0x16ee]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x1c24], edx
push 0x11
push 0
lea ecx, [ebp - 0x1744]
push ecx
call fcn.004e9480
add esp, 0xc
push 0x10
lea edx, [ebp - 0x152c]
push edx
lea eax, [ebp - 0x1744]
push eax
call fcn.004e9b20
add esp, 0xc
mov byte [ebp - 0x1734], 0
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e9480
add esp, 0xc
lea edx, [ebp - 0x1744]
push edx
push str.Ready__FW:__s_
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e998d
add esp, 0xc
cmp dword [0x56e1dc], 0
jle 0x47768c
mov ecx, dword [0x56e1dc]
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.00408d3c
lea ecx, [ebp - 0x1a14]
push ecx
mov edx, dword [0x56e1dc]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.00505c1d
mov edx, dword [ebp - 0x1760]
sub edx, 1
imul edx, edx, 0xa
xor eax, eax
mov al, byte [ebp + edx - 0x1800]
test eax, eax
jne 0x477745
push 0x104
push 0
lea ecx, [ebp - 0x1a14]
push ecx
call fcn.004e9480
add esp, 0xc
push str.Cant_Detect_Drive__
lea edx, [ebp - 0x1a14]
push edx
call fcn.004e96e0
add esp, 8
push 0
push 0x32
push 0xff
push 0x55fdcc
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.00463ad1
mov edx, dword [ebp - 0x1760]
mov byte [edx + 0x674458], 0
push 0
push 0x54
push 0xff
mov eax, dword [ebp - 0x1760]
push eax
mov ecx, dword [ebp - 0x1c54]
call fcn.00479aa8
push 1
mov ecx, dword [ebp - 0x1804]
push ecx
mov edx, dword [ebp - 0x1760]
push edx
call fcn.004ba1fb
add esp, 0xc
jmp 0x4766cf
cmp dword [0x56e1dc], 0
je 0x477794
mov eax, dword [ebp - 0x214]
shr eax, 0xb
push eax
push 0x55fdd0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e998d
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x56e1e0]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00505c1d
cmp dword [0x56e1f0], 0
jle 0x4777e0
mov eax, dword [ebp - 0x1c24]
push eax
push 0x55fdd8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e998d
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x56e1f0]
push eax
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + 0xd0]
call fcn.00505c1d
mov eax, dword [ebp - 0x1c28]
and eax, 0xff
cmp eax, 2
jne 0x477a6e
push 0x104
push 0
lea ecx, [ebp - 0x190c]
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0x1760]
push edx
push str._OnButtonScanusb__:____d___Read_ID_Table_to_get_Serial_Number_____________n
lea eax, [ebp - 0x190c]
push eax
call fcn.004e998d
add esp, 0xc
lea ecx, [ebp - 0x190c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x200
push 0
lea edx, [ebp - 0x1c1c]
push edx
call fcn.004e9480
add esp, 0xc
lea eax, [ebp - 0x1c1c]
push eax
mov ecx, dword [ebp - 0x1804]
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.004c0b13
add esp, 0xc
mov dword [ebp - 0x1c2c], eax
lea ecx, [ebp - 0x1c30]
call fcn.0050de2c
cmp dword [ebp - 0x1c2c], 0
je 0x4778ed
mov dword [ebp - 0x1910], 0
jmp 0x47789a
mov eax, dword [ebp - 0x1910]
add eax, 1
mov dword [ebp - 0x1910], eax
cmp dword [ebp - 0x1910], 0xa
jge 0x4778eb
mov ecx, dword [ebp - 0x1910]
xor edx, edx
mov dl, byte [ebp + ecx*2 - 0x1c08]
push edx
mov eax, dword [ebp - 0x1910]
xor ecx, ecx
mov cl, byte [ebp + eax*2 - 0x1c07]
push ecx
push 0x55fe28
lea edx, [ebp - 0x218]
push edx
call fcn.00503a72
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1c30]
call fcn.0050e2b9
jmp 0x47788b
jmp 0x477901
push 0x55fe30
lea ecx, [ebp - 0x1c30]
push ecx
call fcn.00503a72
add esp, 8
cmp dword [0x56e1e4], 0
jle 0x477938
lea ecx, [ebp - 0x1c30]
call fcn.00404710
push eax
mov edx, dword [0x56e1e4]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.00505c1d
cmp dword [ebp - 0x1c2c], 0
je 0x477a6e
push 0x55fe34
lea edx, [ebp - 0x1744]
push edx
call fcn.004e9ff0
add esp, 8
test eax, eax
jne 0x477a6e
push 0x104
push 0
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x1be8]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x1be7]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x1bea]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x1be9]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x1bec]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x1beb]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x1bee]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x1bed]
and edx, 0xff
push edx
push str.Ready___FW:__C_C_C_C_C_C_C_C_
lea eax, [ebp - 0x1a14]
push eax
call fcn.004e998d
add esp, 0x28
cmp dword [0x56e1dc], 0
jle 0x477a6e
push 0x56e810
mov ecx, dword [0x56e1dc]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00505c1d
lea ecx, [ebp - 0x1a14]
push ecx
mov edx, dword [0x56e1dc]
push edx
mov eax, dword [ebp - 0x1760]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + 0xd0]
call fcn.00505c1d
mov edx, dword [0x56e1dc]
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.00408d3c
cmp dword [0x56e1ec], 0
jle 0x477c24
push 0x200
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.004e9480
add esp, 0xc
mov eax, dword [ebp - 0x1760]
sub eax, 1
imul eax, eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x1800]
mov dword [ebp - 0x1c5c], ecx
mov edx, dword [ebp - 0x1c5c]
sub edx, 7
mov dword [ebp - 0x1c5c], edx
cmp dword [ebp - 0x1c5c], 0xe5
ja case.0x477ad9.10
mov ecx, dword [ebp - 0x1c5c]
xor eax, eax
mov al, byte [ecx + 0x477f5e]
jmp dword [eax*4 + 0x477f32]
push str.RENESES
push 0x55fe60
lea edx, [ebp - 0x20c]
push edx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push 0x55fe64
push 0x55fe68
lea eax, [ebp - 0x20c]
push eax
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push 0x55fe6c
push 0x55fe74
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.MICRON
push 0x55fe80
lea edx, [ebp - 0x20c]
push edx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.SANDISK
push 0x55fe8c
lea eax, [ebp - 0x20c]
push eax
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.TOSHIBA
push 0x55fe98
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.HYNIX
push 0x55fea4
lea edx, [ebp - 0x20c]
push edx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.INFINEON
push 0x55feb4
lea eax, [ebp - 0x20c]
push eax
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.SAMSUNG
push 0x55fec0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e998d
add esp, 0xc
jmp case.0x477ad9.10
push str.INTEL
push 0x55fecc
lea edx, [ebp - 0x20c]
push edx
call fcn.004e998d
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [0x56e1ec]
push ecx
mov edx, dword [ebp - 0x1760]
sub edx, 1
push edx
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0xd0]
call fcn.00505c1d
mov ecx, dword [ebp - 0x1760]
sub ecx, 1
imul ecx, ecx, 0xa
mov byte [ebp + ecx - 0x17f7], 1
push 1
mov edx, dword [ebp - 0x1804]
push edx
mov eax, dword [ebp - 0x1760]
push eax
call fcn.004ba1fb
add esp, 0xc
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0x214]
shr edx, 0xb
push edx
push str._d_M
lea eax, [ebp - 0x20c]
push eax
call fcn.004e998d
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.0040afa0
push eax
mov ecx, dword [ebp - 0x1760]
mov edx, dword [ebp - 0x1c54]
mov ecx, dword [edx + ecx*4 + 0x22c]
call fcn.0040b350
lea eax, [ebp - 0x1c4c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0047ea70
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.0050df0f
mov dword [ebp - 0x1c60], eax
mov eax, dword [ebp - 0x1760]
mov ecx, dword [ebp - 0x1c54]
mov ecx, dword [ecx + eax*4 + 0x22c]
call fcn.0043a1c2
jmp 0x4766cf
mov dword [ebp - 0x1760], 0
jmp 0x477d33
mov edx, dword [ebp - 0x1760]
add edx, 1
mov dword [ebp - 0x1760], edx
cmp dword [ebp - 0x1760], 0x10
jge 0x477d74
mov eax, dword [ebp - 0x1760]
imul eax, eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x17f7]
test ecx, ecx
jne 0x477d54
jmp 0x477d24
push 6
mov edx, dword [ebp - 0x1760]
imul edx, edx, 0xa
lea eax, [ebp + edx - 0x1800]
push eax
push 0x56e180
call fcn.004e9b20
add esp, 0xc
mov ecx, dword [ebp - 0x1c54]
mov dword [ecx + 0x218], 0
mov edx, dword [ebp - 0x1c54]
mov dword [edx + 0x21c], 0xffff
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0x220], 0
mov dword [ebp - 0x1760], 1
jmp 0x477dbf
mov ecx, dword [ebp - 0x1760]
add ecx, 1
mov dword [ebp - 0x1760], ecx
mov edx, dword [0x56e268]
add edx, 1
cmp dword [ebp - 0x1760], edx
jge 0x477e2d
mov eax, dword [ebp - 0x1760]
xor ecx, ecx
mov cl, byte [eax + 0x674458]
test ecx, ecx
je 0x477e2b
mov edx, dword [ebp - 0x1760]
sub edx, 1
mov dword [ebp - 0x1c64], edx
fild dword [ebp - 0x1c64]
sub esp, 8
fstp qword [esp]
push 0x40000000
push 0
call fcn.004eb090
add esp, 0x10
call fcn.004eb320
mov ecx, dword [ebp - 0x1c54]
mov edx, dword [ecx + 0x218]
add edx, eax
mov eax, dword [ebp - 0x1c54]
mov dword [eax + 0x218], edx
jmp 0x477db0
mov ecx, dword [ebp - 0x1c54]
xor edx, edx
mov dl, byte [ecx + 0x118]
test edx, edx
je 0x477eb5
push 6
push 0
lea eax, [ebp - 0x1c38]
push eax
call fcn.004e9480
add esp, 0xc
mov byte [ebp - 0x1c38], 0xf0
mov byte [ebp - 0x1c37], 0x50
mov byte [ebp - 0x1c36], 1
mov ecx, dword [ebp - 0x1c54]
mov edx, dword [ecx + 0x218]
sar edx, 8
and edx, 0xff
mov byte [ebp - 0x1c35], dl
mov eax, dword [ebp - 0x1c54]
mov ecx, dword [eax + 0x218]
and ecx, 0xff
mov byte [ebp - 0x1c34], cl
lea edx, [ebp - 0x1c38]
push edx
mov eax, dword [ebp - 0x1c54]
add eax, 0x119
push eax
call fcn.004b94c4
add esp, 8
mov ecx, dword [ebp - 0x1c54]
cmp dword [ecx + 0x1474], 0
jne 0x477ef9
push 0
push 1
mov ecx, dword [ebp - 0x1c54]
call fcn.0047a278
push 0x54d
mov ecx, dword [ebp - 0x1c54]
call fcn.0050d114
mov dword [ebp - 0x1c20], eax
push str.Scan_Drive
mov ecx, dword [ebp - 0x1c20]
call fcn.0050d3ab
mov dword [0x56e17c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c30]
call fcn.0050dea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0050dea1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret