Function at 0x41f467
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
lea edi, [ebp - 0x100]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x42f01a
call fcn.004112b7
mov esi, esp
push str.Russian
push 0
call dword [sym.imp.ucrtbased.dll_setlocale]
add esp, 8
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp esi, esp
call fcn.004112c6
mov dword [ebp - 8], eax
mov dword [0x42aa14], 0
mov dword [0x42a184], 0
mov esi, esp
movzx eax, word [0x42a018]
push eax
movzx ecx, word [0x42a014]
push ecx
push 0x42aa14
call dword [sym.imp.SLABHIDtoSMBus.dll_HidSmbus_GetNumDevices]
cmp esi, esp
call fcn.004112c6
mov dword [0x42a184], eax
cmp dword [0x42a184], 0
je 0x41e163
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
push eax
push str.__Get_Num_Devices_error:_0x_02X_n
call fcn.00411055
add esp, 8
cmp dword [0x42a184], 4
jne 0x41e159
push str._HID_SMBUS_INVALID_PARAMETER_n
call fcn.00411055
add esp, 4
mov eax, dword [0x42a184]
jmp 0x41f5f8
cmp dword [0x42aa14], 0
jne 0x41e38e
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str._________________________________________________________n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x427e04
call fcn.00411055
add esp, 4
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x427e48
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.VID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.0x10C4
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.PID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.0xEA90_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x427e90
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.VID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
movzx eax, word [0x42a014]
push eax
push str.0x_04X
call fcn.00411055
add esp, 8
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.__PID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
movzx eax, word [0x42a018]
push eax
push str.0x_04X_n_n
call fcn.00411055
add esp, 8
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov dword [0x42aa10], 0
call fcn.004111e5
cmp dword [0x42aa8c], 0
jle 0x41e37c
mov esi, esp
call dword [sym.imp.ucrtbased.dll_getchar]
cmp esi, esp
call fcn.004112c6
cmp eax, 0xa
je 0x41e372
jmp 0x41e35c
mov dword [0x42aa8c], 0
mov eax, dword [0x42aa8c]
add eax, 1
mov dword [0x42aa8c], eax
jmp 0x41e0d5
mov dword [0x42a184], 0
mov esi, esp
movzx eax, word [0x42a018]
push eax
movzx ecx, word [0x42a014]
push ecx
push 0
push 0x42a180
call dword [sym.imp.SLABHIDtoSMBus.dll_HidSmbus_Open]
cmp esi, esp
call fcn.004112c6
mov dword [0x42a184], eax
cmp dword [0x42a184], 0
je 0x41e49b
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
push eax
push str.__HidSmbus_Open_error:_0x_02X_n
call fcn.00411055
add esp, 8
cmp dword [0x42a184], 3
jne 0x41e40e
push str._HID_SMBUS_INVALID_DEVICE_OBJECT_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 1
jne 0x41e424
push str._HID_SMBUS_DEVICE_NOT_FOUND_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 4
jne 0x41e43a
push str._HID_SMBUS_INVALID_PARAMETER_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 0x14
jne 0x41e450
push str._HID_SMBUS_DEVICE_IO_FAILED_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 0x15
jne 0x41e466
push str._HID_SMBUS_DEVICE_ACCESS_ERROR_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 0x16
jne 0x41e47c
push str._HID_SMBUS_DEVICE_NOT_SUPPORTED_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
jmp 0x41f5f8
mov dword [0x42a184], 0
mov esi, esp
movzx eax, word [0x42a028]
push eax
mov ecx, dword [0x42aa98]
push ecx
movzx edx, word [0x42a024]
push edx
movzx eax, word [0x42a020]
push eax
mov ecx, dword [0x42aa94]
push ecx
movzx edx, byte [0x42a002]
push edx
mov eax, dword [0x42a01c]
push eax
mov ecx, dword [0x42a180]
push ecx
call dword [sym.imp.SLABHIDtoSMBus.dll_HidSmbus_SetSmbusConfig]
cmp esi, esp
call fcn.004112c6
mov dword [0x42a184], eax
cmp dword [0x42a184], 0
je 0x41e58a
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
push eax
push str.__HidSmbus_SetSmbusConfig_error:_0x_02X_n
call fcn.00411055
add esp, 8
cmp dword [0x42a184], 3
jne 0x41e53f
push str._HID_SMBUS_INVALID_DEVICE_OBJECT_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 4
jne 0x41e555
push str._HID_SMBUS_INVALID_PARAMETER_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 0x14
jne 0x41e56b
push str._HID_SMBUS_DEVICE_IO_FAILED_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
jmp 0x41f5f8
mov byte [ebp - 0x11], 8
mov byte [ebp - 0x1d], 8
mov byte [ebp - 0x29], 6
mov byte [ebp - 0x35], 0
mov dword [0x42a184], 0
mov esi, esp
movzx eax, byte [ebp - 0x35]
push eax
movzx ecx, byte [ebp - 0x29]
push ecx
movzx edx, byte [ebp - 0x1d]
push edx
movzx eax, byte [ebp - 0x11]
push eax
mov ecx, dword [0x42a180]
push ecx
call dword [sym.imp.SLABHIDtoSMBus.dll_HidSmbus_SetGpioConfig]
cmp esi, esp
call fcn.004112c6
mov dword [0x42a184], eax
cmp dword [0x42a184], 0
je 0x41e64f
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
push eax
push str.__Set_Gpio_Config_error:_0x_02X_n
call fcn.00411055
add esp, 8
cmp dword [0x42a184], 3
jne 0x41e61a
push str._HID_SMBUS_INVALID_DEVICE_OBJECT_n
call fcn.00411055
add esp, 4
cmp dword [0x42a184], 0x14
jne 0x41e630
push str._HID_SMBUS_DEVICE_IO_FAILED_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42a184]
jmp 0x41f5f8
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov dword [0x42a02c], 0
call fcn.00411393
mov eax, 1
imul ecx, eax, 0
mov byte [ecx + 0x42a1f0], 0xd
mov byte [0x42a1eb], 1
mov dword [0x42a1ec], 2
mov eax, dword [0x42a1ec]
push eax
movzx ecx, byte [0x42a1eb]
push ecx
call fcn.0041107d
add esp, 8
mov esi, esp
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004112c6
mov eax, 1
shl eax, 0
movzx ecx, byte [eax + 0x42a188]
shl ecx, 8
and ecx, 0xff00
mov edx, 1
imul eax, edx, 0
movzx edx, byte [eax + 0x42a188]
add ecx, edx
mov dword [0x42aaa4], ecx
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42aaa4]
push eax
push str._Read_0x0d___0x_04X_n
call fcn.00411055
add esp, 8
mov eax, dword [0x42aaa4]
mov dword [0x42aa80], eax
mov dword [0x42aa7c], 0
cmp dword [0x42aaa4], 0x64
jle 0x41e7b5
mov eax, 1
shl eax, 0
movzx ecx, byte [eax + 0x42a188]
cmp ecx, 5
jne 0x41e77d
mov dword [0x42aa7c], 2
mov dword [0x42aa84], 0x800
mov dword [0x42aa88], 0
jmp 0x41e7b5
cmp dword [0x42aaa4], 0x9002
jne 0x41e7ab
mov dword [0x42aa7c], 1
mov dword [0x42aa84], 0x2000
mov dword [0x42aa88], 1
jmp 0x41e7b5
mov dword [0x42aa7c], 3
cmp dword [0x42aa7c], 0
jle 0x41e7c8
jmp 0x41e912
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str._WRITE_0x71___0x0214_n
call fcn.00411055
add esp, 4
mov eax, 1
imul ecx, eax, 0
mov byte [ecx + 0x42aa18], 0x71
mov eax, 1
shl eax, 0
mov byte [eax + 0x42aa18], 0x14
mov eax, 1
shl eax, 1
mov byte [eax + 0x42aa18], 2
mov byte [0x42a001], 3
movzx eax, byte [0x42a001]
push eax
call fcn.004112bc
add esp, 4
mov esi, esp
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str._Read_0x74__
call fcn.00411055
add esp, 4
mov eax, 1
imul ecx, eax, 0
mov byte [ecx + 0x42a1f0], 0x74
mov byte [0x42a1eb], 1
mov dword [0x42a1ec], 2
mov eax, dword [0x42a1ec]
push eax
movzx ecx, byte [0x42a1eb]
push ecx
call fcn.0041107d
add esp, 8
mov esi, esp
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004112c6
mov eax, 1
shl eax, 0
movzx ecx, byte [eax + 0x42a188]
shl ecx, 8
and ecx, 0xff00
mov edx, 1
imul eax, edx, 0
movzx edx, byte [eax + 0x42a188]
add ecx, edx
mov dword [0x42aaa4], ecx
mov eax, 1
shl eax, 0
mov cl, byte [eax + 0x42a188]
mov byte [0x42aa7b], cl
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42aaa4]
push eax
push str.0x_04X_n
call fcn.00411055
add esp, 8
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42aa7c]
push eax
push str._BootRom___u_n_n
call fcn.00411055
add esp, 8
movzx eax, byte [0x42aa7b]
cmp eax, 5
jne 0x41e98c
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x427fec
call fcn.00411055
add esp, 4
jmp 0x41e9d0
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x42801c
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str._______VID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
movzx eax, word [0x42a014]
push eax
push str.0x_04X
call fcn.00411055
add esp, 8
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.__PID_
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
movzx eax, word [0x42a018]
push eax
push str.0x_04X_n_n
call fcn.00411055
add esp, 8
cmp dword [0x42aa7c], 0
jne 0x41eab7
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.____DEVICE_starting_in
call fcn.00411055
add esp, 4
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Program_flash_n
call fcn.00411055
add esp, 4
jmp 0x41eb16
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.______DEVICE_in_BOOT_ROM_Ver:
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov eax, dword [0x42aa80]
and eax, 0xff
push eax
mov ecx, dword [0x42aa80]
sar ecx, 8
and ecx, 0xff
push ecx
push str._02X._02X_n
call fcn.00411055
add esp, 0xc
push 0x425f74
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x4280c0
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
cmp dword [0x42aa7c], 0
jle 0x41eb9c
jmp 0x41ee66
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.____________ONLY_for
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq9000_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___1.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.READ_Battery_Info
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq9000_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___2.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Run
call fcn.00411055
add esp, 4
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Enter_to_BOOT_mod
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq9000_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.____________ONLY_for
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq8050_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___3.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.READ_Battery_Info
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq8050_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___4.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Run
call fcn.00411055
add esp, 4
mov esi, esp
push 0xa
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Enter_to_BOOT_mod
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.bq8050_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.____ONLY_for_DEVICE_in
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.BOOT_ROM_mod_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___R.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.Read
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.EEPROM
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.__Read
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.PROGRAM_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___W.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.WRITE
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.EEPROM_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___E.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xb
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.EXIT_BOOT_ROM_mod_n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.___0.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push 0x428228
call fcn.00411055
add esp, 4
mov esi, esp
push 0xd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.________________________________________n_n
call fcn.00411055
add esp, 4
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
push str.
call fcn.00411055
add esp, 4
mov esi, esp
push 0xe
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
cmp dword [0x42aa8c], 0
jle 0x41f108
mov esi, esp
call dword [sym.imp.ucrtbased.dll_getchar]
cmp esi, esp
call fcn.004112c6
cmp eax, 0xa
je 0x41f0fe
jmp 0x41f0e8
mov dword [0x42aa8c], 0
mov eax, dword [0x42aa8c]
add eax, 1
mov dword [0x42aa8c], eax
mov esi, esp
call dword [sym.imp.ucrtbased.dll_getchar]
cmp esi, esp
call fcn.004112c6
mov dword [0x42aa90], eax
mov eax, dword [0x42aa90]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
sub ecx, 0x30
mov dword [ebp - 0x100], ecx
cmp dword [ebp - 0x100], 0x47
ja case.0x41f15d.5
mov edx, dword [ebp - 0x100]
movzx eax, byte [edx + 0x41f63c]
jmp dword [eax*4 + 0x41f60c]
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov dword [0x42a02c], 1
call fcn.00411393
call fcn.00411280
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov dword [0x42a02c], 0
call fcn.00411393
call fcn.00411280
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
call fcn.00411145
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
call fcn.00411145
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
cmp dword [0x42aa7c], 1
jne 0x41f415
call fcn.00411041
jmp 0x41f41a
call fcn.00411140
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
cmp dword [0x42aa7c], 1
jne 0x41f48e
call fcn.00411041
jmp 0x41f493
call fcn.00411140
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
call fcn.0041110e
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
call fcn.0041110e
mov esi, esp
push 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
push str.pause
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
mov esi, esp
push 0x427ab8
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
jmp 0x41f5cc
mov esi, esp
push 0x426080
call dword [sym.imp.ucrtbased.dll_system]
add esp, 4
cmp esi, esp
call fcn.004112c6
jmp 0x41e67d
mov esi, esp
push 0xf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp esi, esp
call fcn.004112c6
mov esi, esp
mov eax, dword [0x42a180]
push eax
call dword [sym.imp.SLABHIDtoSMBus.dll_HidSmbus_Close]
cmp esi, esp
call fcn.004112c6
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x100
cmp ebp, esp
call fcn.004112c6
mov esp, ebp
pop ebp
ret