Function at 0x424937
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x45b170]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x102
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.0043b860
mov cl, byte [edi + 0x34e]
add esp, 0xc
push dword [edi + 4]
test cl, cl
mov edx, str.Select_File
mov eax, 0x4544a8
cmove eax, edx
push 1
push eax
mov eax, str.Firmware_File_.dwn_
mov edx, 0x4544c0
cmove edx, eax
lea ecx, [ebp - 0x110]
call fcn.0042c982
add esp, 0xc
test al, al
je 0x424cf3
mov esi, dword [edi + 4]
push 1
push 1
push 0xfb9
push esi
mov dword [ebp - 0x124], esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x110]
push 0x4544f8
push eax
call fcn.00437c58
push 2
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x118], ebx
call fcn.004385d6
add esp, 0x14
push ebx
call fcn.004389ae
pop ecx
mov dword [ebp - 0x128], eax
cmp eax, 0x1000
jle 0x424cc4
push 1
mov ecx, edi
call fcn.004269f7
test al, al
je 0x424cc4
push 0x4544fc
mov ecx, edi
call fcn.00426915
test al, al
je 0x424cc4
push str.boot_start
call fcn.0042a4ca
pop ecx
push eax
push 0
push str.boot_start
lea ecx, [edi + 0x320]
call fcn.004298db
cmp eax, 0xffffffff
je 0x424cc4
push str.write_page
mov ecx, edi
call fcn.00426915
test al, al
je 0x424cc4
push str.get_page
call fcn.0042a4ca
pop ecx
push eax
push 0
push str.get_page
lea ecx, [edi + 0x320]
call fcn.004298db
cmp eax, 0xffffffff
je 0x424cc4
push ebx
call fcn.00438a16
pop ecx
push ebx
push 0x100
lea eax, [ebp - 0x110]
push 1
push eax
call fcn.00438c98
xorps xmm0, xmm0
movlpd qword [ebp - 0x120], xmm0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x114], eax
movzx eax, byte [ebp + ebx - 0x110]
cdq
add dword [ebp - 0x114], eax
adc ecx, edx
inc ebx
cmp ebx, 0x100
jl 0x424ac5
mov edx, dword [ebp - 0x114]
mov eax, edx
shrd eax, ecx, 8
mov byte [ebp - 0x10], al
push 0x102
lea eax, [ebp - 0x110]
sar ecx, 8
push eax
mov ecx, edi
mov byte [ebp - 0xf], dl
call fcn.00426998
test al, al
je 0x424cc4
mov ebx, str.write_OK
push ebx
call fcn.0042a4ca
pop ecx
push eax
push 0
push ebx
lea ecx, [edi + 0x320]
call fcn.004298db
cmp eax, 0xffffffff
je 0x424cc4
push 1
push 0xf00
push dword [ebp - 0x118]
mov bl, 1
call fcn.004385d6
add esp, 0xc
lea eax, [ebp - 0x110]
push dword [ebp - 0x118]
push 0x100
push 1
push eax
call fcn.00438c98
add esp, 0x10
cmp eax, 0x100
jne 0x424ca8
mov dword [ebp - 0x11c], 0x271000
push str.write_page
mov ecx, edi
call fcn.00426915
test al, al
je 0x424cc4
push str.get_page
call fcn.0042a4ca
pop ecx
push eax
push 0
push str.get_page
lea ecx, [edi + 0x320]
call fcn.004298db
cmp eax, 0xffffffff
je 0x424cc4
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x12c]
xor esi, esi
mov dword [ebp - 0x114], eax
movzx eax, byte [ebp + esi - 0x110]
cdq
add dword [ebp - 0x114], eax
adc ecx, edx
inc esi
cmp esi, 0x100
jl 0x424bd5
mov edx, dword [ebp - 0x114]
mov esi, dword [ebp - 0x124]
mov eax, edx
shrd eax, ecx, 8
mov byte [ebp - 0x10], al
push 0x102
lea eax, [ebp - 0x110]
sar ecx, 8
push eax
mov ecx, edi
mov byte [ebp - 0xf], dl
call fcn.00426998
test al, al
je 0x424cc4
push str.write_OK
call fcn.0042a4ca
pop ecx
push eax
push 0
push str.write_OK
lea ecx, [edi + 0x320]
call fcn.004298db
cmp eax, 0xffffffff
je 0x424cc4
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x128]
add eax, 0x271000
mov dword [ebp - 0x11c], eax
cdq
add ecx, 0xfffff100
idiv ecx
push 6
push eax
push 0xfb9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push 0x100
push 1
push eax
call fcn.00438c98
add esp, 0x10
cmp eax, 0x100
je 0x424b7b
push 0xa
push str.ISP_finish
lea ecx, [edi + 0x4e7]
call fcn.0042d34d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x424cc6
xor bl, bl
xor eax, eax
test bl, bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
sete al
add eax, 2
push eax
push dword [edi + 0x266]
push 0xfb9
push dword [edi + 4]
call ebx
push 1
push 0
push 0xfb9
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004363cf
leave
ret