Function at 0x403b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x402b90
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
mov ecx, eax
sub esp, 0xec
call fcn.00465fc0
test al, al
jne 0x402aa0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx + 0x20], 0xac
je 0x402b92
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x40]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.It_is_detected_that_ESC_is_not_in_bootload_mode__please_enter_bootload_mode_first._n
mov ecx, eax
mov dword [esp], 0x4db008
mov dword [ebp - 0x8c], eax
mov edi, dword [0x57c0e4]
call edi
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Non_bootload_Mode_
mov dword [esp], 0x4db008
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x57c658]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x402cb0
cmp edx, 0xffffffff
je 0x402b50
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x402cb0
nop
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x402b6f
cmp edx, 0xffffffff
je 0x402a94
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
jne 0x402a94
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
repz ret
lea ecx, [ebp - 0x70]
call dword [0x57bf58]
mov eax, dword [ebx + 0x18]
mov esi, dword [0x57c988]
mov ecx, dword [eax + 4]
call esi
test eax, eax
mov edx, dword [ebx + 0x18]
je 0x402cd0
mov ecx, dword [edx + 4]
call esi
cmp eax, 1
je 0x40347e
mov dword [esp], 1
lea ecx, [ebp - 0x70]
call dword [0x57bf50]
sub esp, 4
test al, al
jne 0x402d50
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Could_not_open_bin_qfile_t._Make_sure_that_the_path_is_valid.
mov dword [esp], 0x4db008
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov edi, dword [0x57c0e4]
call edi
lea esi, [ebp - 0x40]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Error_4
mov dword [esp], 0x4db008
mov ecx, esi
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x57c658]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x402e10
cmp edx, 0xffffffff
je 0x402c81
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x402e10
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x402df2
cmp edx, 0xffffffff
je 0x402ca0
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x402df2
lea ecx, [ebp - 0x70]
call dword [0x57bf5c]
jmp 0x402a94
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402b50
mov ecx, dword [edx + 0x10]
call dword [0x57c9c4]
test eax, eax
je 0x4033b0
mov edx, dword [eax]
lea edi, [ebp - 0x30]
mov dword [esp + 4], 0x100
mov dword [esp], eax
mov dword [ebp - 0x8c], edi
mov ecx, edi
call dword [edx + 0x10]
lea esi, [ebp - 0x40]
sub esp, 8
mov dword [esp], edi
mov ecx, esi
call dword [0x57c1a8]
sub esp, 4
lea ecx, [ebp - 0x70]
mov dword [esp], esi
call dword [0x57bf4c]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x403390
cmp edx, 0xffffffff
je 0x402d3e
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x403390
mov ecx, dword [ebp - 0x8c]
call dword [0x57c038]
jmp 0x402bc2
lea ecx, [ebp - 0x70]
call dword [0x57c130]
cmp edx, 0
jl 0x402e39
jle 0x402e2e
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str._Firmware_is_too_large__cannot_exceed_150Kbyte_.
mov dword [esp], 0x4db008
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov edi, dword [0x57c0e4]
call edi
lea esi, [ebp - 0x40]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str._Error_5_
mov dword [esp], 0x4db008
mov ecx, esi
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x57c658]
jmp 0x402c62
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402ca0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402c81
cmp eax, 0x30f98
ja 0x402d68
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Make_sure_to_download_the_correct_firmware__wrong_firmware_may_damage_the_ESC.Do_you_want_to_continue_
mov dword [esp], 0x4db008
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov edi, dword [0x57c0e4]
call edi
lea esi, [ebp - 0x40]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Warning
mov dword [esp], 0x4db008
mov ecx, esi
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0x10000
mov dword [esp + 0xc], 0x14000
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [0x57c654]
mov dword [ebp - 0x98], eax
call eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x403460
cmp edx, 0xffffffff
je 0x402eea
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x403460
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x403440
cmp edx, 0xffffffff
je 0x402f09
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x403440
cmp dword [ebp - 0x90], 0x4000
jne 0x402ca0
mov ecx, dword [ebx + 0x1c]
call fcn.00465ee0
mov ecx, eax
call fcn.0046f940
mov eax, dword [0x57bec4]
mov dword [esp], 0
mov ecx, esi
mov dword [ebp - 0xb4], eax
call eax
mov edx, dword [0x57bf84]
sub esp, 4
mov ecx, dword [ebp - 0x8c]
mov dword [esp], 0
mov dword [ebp - 0xb0], edx
call edx
mov edx, dword [0x57bf78]
sub esp, 4
or byte [ebp - 0x1c], 1
mov dword [esp], 0x7d0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
call edx
mov ecx, dword [ebx + 0x1c]
sub esp, 4
call fcn.00465ee0
mov dword [esp], 0x10
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x60], fcn.0048b320
mov dword [ebp - 0x5c], 0
call fcn.0048f508
lea edx, [ebp - 0x50]
mov dword [eax], 1
mov dword [eax + 4], 0x4015c0
mov dword [eax + 0xc], esi
mov dword [eax + 8], edx
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x94]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0x20], 0x4db1e8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], edx
lea edx, [ebp - 0x74]
mov dword [esp + 8], eax
mov dword [esp], edx
mov edx, dword [0x57bfa4]
mov dword [ebp - 0xa8], edx
call edx
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [0x57bed0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x4dccdf
mov dword [esp], edx
mov edx, dword [0x57bfcc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x4dcce7
mov dword [esp + 4], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa0], edx
call edx
mov edx, dword [0x57bed0]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x94], edx
call edx
mov eax, dword [0x57bebc]
mov dword [esp], 0
mov ecx, esi
mov dword [ebp - 0xa4], eax
call eax
lea ecx, [ebp - 0x74]
sub esp, 4
mov dword [esp], ecx
mov ecx, dword [0x57bf9c]
mov dword [ebp - 0xac], ecx
call ecx
mov edx, dword [ebp - 0x28]
test edx, edx
js 0x4036fe
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x44], 0x1010101
call edx
mov eax, dword [0x57bf88]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
call eax
mov eax, dword [0x57bec8]
mov ecx, esi
mov dword [ebp - 0xb8], eax
call eax
lea ecx, [ebp - 0x80]
call fcn.00471a80
mov dword [esp + 8], esi
mov esi, dword [ebp - 0x90]
mov ecx, ebx
mov dword [esp + 4], 0x10
mov dword [ebp - 0x40], 0x33323130
mov dword [ebp - 0x3c], 0x37363534
mov dword [ebp - 0x38], 0x62613938
mov dword [esp], esi
mov dword [ebp - 0x34], 0x66656463
call fcn.00401e50
sub esp, 0xc
nop
lea esi, [esi]
movsx eax, byte [esi]
lea ecx, [ebp - 0x80]
mov dword [esp], eax
call dword [0x57be9c]
lea eax, [ebp - 0x40]
add esi, 1
sub esp, 4
cmp eax, esi
jne 0x403120
mov ecx, dword [ebx + 0x1c]
call fcn.00465ee0
lea esi, [ebp - 0x80]
mov ecx, eax
mov dword [esp], esi
call fcn.0046fa40
sub esp, 4
mov byte [ebp - 0x81], 0
lea ecx, [ebp - 0x68]
mov dword [esp], 0
mov eax, dword [ebp - 0xb4]
call eax
mov esi, dword [ebp - 0x8c]
sub esp, 4
mov eax, dword [ebp - 0xb0]
mov dword [esp], 0
mov ecx, esi
call eax
sub esp, 4
or byte [ebp - 0x1c], 1
mov dword [ebp - 0x8c], esi
mov dword [esp], 0x7d0
mov ecx, esi
mov eax, dword [ebp - 0x9c]
call eax
mov ecx, dword [ebx + 0x1c]
sub esp, 4
call fcn.00465ee0
mov dword [esp], 0x10
mov esi, eax
mov dword [ebp - 0x58], fcn.0048b360
mov dword [ebp - 0x54], 0
call fcn.0048f508
lea edx, [ebp - 0x81]
mov dword [eax], 1
mov dword [eax + 4], 0x401620
mov dword [eax + 8], edx
lea edx, [ebp - 0x68]
mov dword [eax + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x20], 0x4db1e8
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x7c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xa8]
call eax
lea eax, [ebp - 0x68]
mov esi, dword [ebp - 0x8c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x4dccdf
mov dword [esp + 8], 0x4dcce7
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x74]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xa0]
call eax
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x94]
call eax
mov dword [esp], 0
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xa4]
call eax
lea eax, [ebp - 0x7c]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
call eax
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x40380d
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x94]
call eax
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xbc]
mov ecx, edi
call eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xb8]
call eax
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x68]
mov dword [esp], eax
call dword [0x57c084]
mov ecx, dword [ebx + 0x1c]
lea eax, [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call fcn.004672e0
mov edx, dword [ebx + 0x18]
sub esp, 4
test al, al
mov esi, dword [edx + 0x4c]
je 0x4038c3
mov dword [esp + 4], 0x61
mov dword [esp], str.Update_firmware_completed_please_wait_for_5_senconds_and_click_Connect_button_to_connect_the_ESC.
call dword [0x57bff0]
mov dword [ebp - 0x30], eax
mov dword [esp], edi
mov ecx, esi
call dword [0x57c7e4]
sub esp, 4
mov ecx, edi
call fcn.004b7d60
mov dword [esp], 0x1388
call fcn.0046e630
mov ecx, dword [ebx + 0x1c]
call fcn.00465fd0
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test edx, edx
je 0x4038f4
cmp edx, 0xffffffff
je 0x40334d
lock sub dword [eax], 1
je 0x4038f1
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
test edx, edx
je 0x40336c
cmp edx, 0xffffffff
je 0x402ca0
lock sub dword [eax], 1
jne 0x402ca0
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402ca0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402d3e
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Please_select_a_valid_firmware.
mov dword [esp], 0x4db008
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov edi, dword [0x57c0e4]
call edi
lea esi, [ebp - 0x40]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Error_2
mov dword [esp], 0x4db008
mov ecx, esi
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x57c654]
jmp 0x402c62
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402f09
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x402eea
mov eax, dword [ebx + 0x18]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x8c], edi
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [0x57ca4c]
sub esp, 4
lea ecx, [ebp - 0x70]
mov dword [esp], edi
call dword [0x57bf4c]
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4036cf
cmp edx, 0xffffffff
je 0x4034c9
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4036cf
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x70]
mov dword [esp], eax
mov ecx, edi
call dword [0x57c134]
lea ecx, [ebp - 0x50]
sub esp, 4
mov dword [esp], edi
mov dword [ebp - 0x90], ecx
call dword [0x57c05c]
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4036b1
cmp edx, 0xffffffff
je 0x403514
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4036b1
mov eax, dword [ebp - 0x90]
lea esi, [ebp - 0x40]
mov ecx, esi
mov dword [esp], eax
call dword [0x57c1d4]
sub esp, 4
mov dword [esp + 4], 4
mov dword [esp], str..bin
call dword [0x57bff0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x8c]
mov ecx, esi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x57c198]
mov edi, eax
mov eax, dword [ebp - 0x30]
sub esp, 8
mov edx, dword [eax]
test edx, edx
je 0x403693
cmp edx, 0xffffffff
je 0x403580
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x403693
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x403675
cmp edx, 0xffffffff
je 0x40359f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x403675
mov eax, edi
test al, al
jne 0x4036ed
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Please_select_a_valid_firmware.
mov dword [esp], 0x4db008
mov ecx, dword [ebp - 0x8c]
mov edi, dword [0x57c0e4]
call edi
sub esp, 0x10
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Error_3
mov dword [esp], 0x4db008
call edi
mov eax, dword [ebp - 0x8c]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x57c658]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x4037ef
cmp edx, 0xffffffff
je 0x403645
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x4037ef
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x4037d1
cmp edx, 0xffffffff
je 0x403664
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4037d1
mov ecx, dword [ebp - 0x90]
call dword [0x57c060]
jmp 0x402ca0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x40359f
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x403580
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x403514
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x4034c9
mov ecx, dword [ebp - 0x90]
call dword [0x57c060]
jmp 0x402bc2
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
lea ecx, [ebp - 0x58]
mov dword [esp + 4], str.Obtaining_the_UUID_code_times_out_
mov dword [esp], 0x4db008
call edi
sub esp, 0x10
lea ecx, [ebp - 0x68]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Error_6
mov dword [esp], 0x4db008
call edi
lea eax, [ebp - 0x58]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
lea eax, [ebp - 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
call eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
test edx, edx
je 0x403936
cmp edx, 0xffffffff
je 0x403791
lock sub dword [eax], 1
je 0x403933
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
test edx, edx
je 0x403915
cmp edx, 0xffffffff
je 0x4037ad
lock sub dword [eax], 1
je 0x403912
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x94]
call eax
mov ecx, dword [ebp - 0x8c]
call dword [0x57bf88]
mov ecx, esi
call dword [0x57bec8]
jmp 0x402ca0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x403664
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x403645
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
lea ecx, [ebp - 0x74]
mov dword [esp + 4], str.Write_encrypted_data_timed_out_
mov dword [esp], 0x4db008
call edi
lea esi, [ebp - 0x78]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], str.Error_7
mov dword [esp], 0x4db008
mov ecx, esi
call edi
lea eax, [ebp - 0x74]
sub esp, 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0x98]
call eax
mov ecx, esi
call fcn.004b7d60
lea ecx, [ebp - 0x74]
call fcn.004b7d60
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x94]
call eax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xbc]
call eax
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xb8]
call eax
lea ecx, [ebp - 0x80]
call fcn.00491120
jmp 0x402ca0
mov dword [esp + 4], 0x49
mov dword [esp], str.Update_firmware_failed_please_plug_and_unplug_the_USB_port_and_try_again.
call dword [0x57bff0]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
mov ecx, esi
mov dword [esp], edi
call dword [0x57c7e4]
jmp 0x403313
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x57be80]
jmp 0x40334d
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x4037ad
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [0x57be80]
jmp 0x403791
jmp 0x402a70