Function at 0x426da0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push ebp
mov eax, 0x40b4
mov ebp, esp
push ebx
call fcn.00436c30
sub esp, eax
lea eax, [ebp - 8]
mov dword [ebp - 0x4064], 0x4474b0
mov dword [ebp - 0x405c], eax
lea eax, [ebp - 0x407c]
mov dword [ebp - 0x4060], 0x447f86
mov dword [ebp - 0x4058], 0x427493
mov dword [ebp - 0x4054], esp
mov dword [esp], eax
call fcn.00437520
lea eax, [ebp - 0x4000]
mov dword [ebp - 0x4008], eax
mov dword [esp], str.install.json
call sub.msvcrt.dll_wcslen
add eax, eax
mov edx, eax
mov dword [ebp - 0x4080], eax
sar edx, 1
mov dword [ebp - 0x4020], edx
cmp edx, 7
ja 0x4270e0
mov eax, dword [ebp - 0x4008]
cmp edx, 1
jne 0x4270d0
mov ecx, 0x69
mov word [eax], cx
mov ecx, dword [ebp - 0x4080]
xor ebx, ebx
mov dword [ebp - 0x4004], edx
mov word [eax + ecx], bx
mov dword [esp], eax
mov dword [ebp - 0x4078], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x4080], eax
mov eax, dword [ebp - 0x4008]
lea ecx, [ebp - 0x4000]
sub esp, 4
cmp eax, ecx
je 0x426e7b
mov dword [esp], eax
call fcn.00446bb0
cmp dword [ebp - 0x4080], 0xffffffff
je 0x4270b7
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
mov dword [esp], str.install.json
mov dword [ebp - 0x4078], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov ecx, eax
cmp eax, 0xffffffff
je 0x4270b7
lea eax, [ebp - 0x4040]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4008]
mov dword [esp + 8], 0x4000
mov dword [esp + 4], eax
mov dword [ebp - 0x4080], ecx
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x4080]
sub esp, 0x14
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4030]
xor ecx, ecx
mov dword [ebp - 0x4034], 0
sub esp, 4
mov dword [ebp - 0x4038], eax
mov word [ebp - 0x4030], cx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x4040]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4008]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp], 0xfde9
mov dword [ebp - 0x4088], eax
mov dword [ebp - 0x4078], 2
call eax
sub esp, 0x18
mov dword [ebp - 0x4084], eax
test eax, eax
je 0x427150
add eax, 1
cmp eax, 0x3ffffffe
ja 0x427484
lea ecx, [eax + eax]
mov dword [ebp - 0x408c], ecx
mov dword [esp], ecx
call fcn.00446bd0
mov ecx, dword [ebp - 0x408c]
xor edx, edx
mov dword [ebp - 0x4080], eax
mov word [eax + ecx - 2], dx
mov edx, dword [ebp - 0x4084]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4008]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov eax, dword [ebp - 0x4088]
mov dword [ebp - 0x4078], 2
call eax
mov eax, dword [ebp - 0x4080]
sub esp, 0x18
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
lea ecx, [ebp - 0x4038]
mov dword [ebp - 0x4084], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x4080]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4034]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00442f90
mov eax, dword [ebp - 0x4080]
sub esp, 0x10
mov dword [esp], eax
call fcn.00446ba0
mov dword [esp], str.name
call sub.msvcrt.dll_wcslen
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], str.name
mov ecx, dword [ebp - 0x4084]
call fcn.0043c480
sub esp, 0xc
mov dword [ebp - 0x4080], eax
test eax, eax
jg 0x427161
mov eax, dword [ebp - 0x4038]
lea edx, [ebp - 0x4030]
cmp eax, edx
je 0x4270b7
mov dword [esp], eax
call fcn.00446bb0
lea eax, [ebp - 0x407c]
mov dword [esp], eax
call fcn.004375b0
mov ebx, dword [ebp - 4]
leave
ret
test edx, edx
je 0x426e35
jmp 0x42711b
lea eax, [ebp - 0x4020]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x4008]
mov dword [esp], eax
mov dword [ebp - 0x4078], 0xffffffff
call fcn.00444d00
mov edx, dword [ebp - 0x4020]
mov dword [ebp - 0x4008], eax
sub esp, 8
mov dword [ebp - 0x4000], edx
mov edx, dword [ebp - 0x4080]
mov dword [esp + 4], str.install.json
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x4020]
mov eax, dword [ebp - 0x4008]
lea ecx, [edx + edx]
mov dword [ebp - 0x4080], ecx
jmp 0x426e35
lea eax, [ebp - 0x4038]
mov dword [ebp - 0x4084], eax
jmp 0x427064
mov dword [esp], 0x44a5e4
call sub.msvcrt.dll_wcslen
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4080]
mov dword [esp], 0x44a5e4
add eax, 5
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x4084]
call fcn.0043c480
sub esp, 0xc
test eax, eax
jle 0x42709f
add eax, 1
mov dword [ebp - 0x4080], eax
mov dword [esp], 0x44a5e4
call sub.msvcrt.dll_wcslen
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4080]
mov dword [esp], 0x44a5e4
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x4084]
call fcn.0043c480
mov ecx, dword [ebp - 0x4080]
mov edx, dword [ebp - 0x4034]
sub esp, 0xc
sub eax, ecx
cmp ecx, edx
ja 0x427442
lea ebx, [ebp - 0x4018]
mov ecx, dword [ebp - 0x4038]
mov dword [ebp - 0x4020], ebx
mov ebx, dword [ebp - 0x4080]
sub edx, ebx
lea ecx, [ecx + ebx*2]
cmp edx, eax
mov dword [ebp - 0x4084], ecx
cmova edx, eax
mov eax, ecx
lea ebx, [edx + edx]
add eax, ebx
mov dword [ebp - 0x4080], ebx
je 0x427228
test ecx, ecx
je 0x42746e
mov eax, dword [ebp - 0x4080]
sar eax, 1
mov dword [ebp - 0x403c], eax
cmp eax, 7
ja 0x4273b0
cmp eax, 1
jne 0x427370
mov dword [ebp - 0x4088], 1
mov eax, dword [ebp - 0x4084]
movzx eax, word [eax]
mov word [ebp - 0x4018], ax
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x408c], eax
mov edx, eax
mov eax, dword [ebp - 0x4088]
xor ebx, ebx
mov dword [ebp - 0x401c], eax
mov eax, dword [ebp - 0x4080]
add eax, edx
mov dword [ebp - 0x4084], eax
mov word [eax], bx
cmp eax, edx
je 0x4272cc
mov dword [ebp - 0x4080], edx
lea esi, [esi]
mov eax, dword [ebp - 0x4080]
movzx eax, word [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_tolower]
mov ecx, dword [ebp - 0x4080]
mov word [ecx], ax
add ecx, 2
mov dword [ebp - 0x4080], ecx
cmp dword [ebp - 0x4084], ecx
jne 0x4272a0
mov eax, dword [0x451140]
xor ecx, ecx
mov dword [0x451144], 0
mov word [eax], cx
mov eax, dword [ebp - 0x4088]
mov ecx, 0x451140
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x408c]
mov dword [esp], eax
mov dword [ebp - 0x4078], 3
call fcn.00444ba0
sub esp, 8
mov dword [esp], str..exe
call sub.msvcrt.dll_wcslen
mov edx, 0x3fffffff
sub edx, dword [0x451144]
cmp eax, edx
ja 0x42742e
mov dword [esp + 4], eax
mov ecx, 0x451140
mov dword [esp], str..exe
mov dword [ebp - 0x4078], 3
call fcn.00444ba0
mov eax, dword [ebp - 0x4020]
lea ebx, [ebp - 0x4018]
sub esp, 8
cmp eax, ebx
je 0x42709f
mov dword [esp], eax
call fcn.00446bb0
jmp 0x42709f
test eax, eax
jne 0x42743a
mov eax, dword [ebp - 0x4080]
xor edx, edx
mov dword [ebp - 0x401c], 0
mov dword [ebp - 0x4088], 0
mov word [ebp + eax - 0x4018], dx
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x408c], eax
jmp 0x4272cc
lea eax, [ebp - 0x403c]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x4020]
mov dword [esp], eax
mov dword [ebp - 0x4078], 2
call fcn.00444d00
mov edx, dword [ebp - 0x403c]
mov dword [ebp - 0x4020], eax
sub esp, 8
mov dword [ebp - 0x4018], edx
mov ebx, dword [ebp - 0x4080]
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x4084]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x403c]
mov ebx, dword [ebp - 0x4020]
mov dword [ebp - 0x4088], eax
add eax, eax
mov edx, ebx
mov dword [ebp - 0x408c], ebx
mov dword [ebp - 0x4080], eax
jmp 0x427270
mov dword [esp], 0x44a516
call fcn.00445e20
lea eax, [ebp - 0x4018]
jmp 0x4273eb
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x4080]
mov dword [esp + 4], 0x44a49c
mov dword [esp + 8], eax
mov dword [esp], 0x44a4b4
mov dword [ebp - 0x4078], 2
call fcn.00446210
mov dword [esp], 0x44a4ec
mov dword [ebp - 0x4078], 2
call fcn.00445c30
mov dword [ebp - 0x4078], 2
call fcn.00447480
add ebp, 8
mov eax, dword [ebp - 0x4074]
mov dword [ebp - 0x4080], eax
mov eax, dword [ebp - 0x4078]
test eax, eax
jne 0x4274dc
mov eax, dword [ebp - 0x4008]
lea edx, [ebp - 0x4000]
cmp eax, edx
je 0x4274c4
mov dword [esp], eax
call fcn.00446bb0
mov eax, dword [ebp - 0x4080]
mov dword [esp], eax
mov dword [ebp - 0x4078], 0xffffffff
call fcn.00437890
sub eax, 1
jne 0x4274f3
mov eax, dword [ebp - 0x4038]
lea edx, [ebp - 0x4030]
cmp eax, edx
jne 0x4274bc
jmp 0x4274c4
sub eax, 1
jne 0x427512
mov eax, dword [ebp - 0x4020]
lea edx, [ebp - 0x4018]
cmp eax, edx
je 0x4274e1
mov dword [esp], eax
call fcn.00446bb0
jmp 0x4274e1
ud2