Function at 0x4241e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44253b
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.004406b0
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1030], 0xffffffff
mov byte [ebp - 0x102c], 0
mov dword [eax + 4], 0
mov eax, dword [eax]
mov byte [eax], 0
push 0x80
push 3
push 1
push SysReAllocStringLen
push ecx
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0
call fcn.0040c870
mov ecx, dword [ebp - 0x1030]
test al, al
je 0x424562
cmp byte [ebp - 0x102c], 0
je 0x42429c
push 0
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1028], 0xffffffff
push eax
push 0
push ecx
mov dword [ebp - 0x1024], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x1030]
xor eax, eax
mov dword [ebp - 0x1040], eax
cmp byte [str.___Install__UTF_8_], al
je 0x4242c0
nop dword [eax]
inc eax
cmp byte [eax + str.___Install__UTF_8_], 0
jne 0x4242b0
mov dword [ebp - 0x1040], eax
xor eax, eax
mov dword [ebp - 0x1034], eax
cmp byte [str.___InstallEnd__], al
je 0x4242e0
inc eax
cmp byte [eax + str.___InstallEnd__], 0
jne 0x4242d0
mov dword [ebp - 0x1034], eax
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x1028], xmm0
mov edx, dword [ebp - 0x1024]
mov dword [ebp - 0x1038], edx
mov edx, dword [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
mov byte [ebp - 0x1011], al
mov dword [ebp - 0x1024], edx
mov esi, 0x1000
lea edi, [ebp - 0x1010]
sub esi, eax
add edi, eax
xor ebx, ebx
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x400000
mov dword [ebp - 0x103c], 0
mov edx, 0x400000
mov eax, esi
push 0
cmova eax, edx
lea edx, [ebp - 0x103c]
push edx
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x103c]
add ebx, ecx
test eax, eax
je 0x424562
test ecx, ecx
je 0x42437c
add edi, ecx
sub esi, ecx
mov ecx, dword [ebp - 0x1030]
jne 0x424330
test ebx, ebx
je 0x424555
mov ecx, dword [ebp - 0x1018]
add ecx, ebx
xor edi, edi
mov dword [ebp - 0x1018], ecx
mov esi, dword [ebp - 0x101c]
mov al, byte [ebp - 0x1011]
test al, al
je 0x424464
mov eax, dword [ebp - 0x1034]
add eax, edi
cmp eax, ecx
ja 0x4244fa
mov esi, dword [ebp - 0x1034]
lea ebx, [ebp - 0x1010]
add ebx, edi
mov eax, str.___InstallEnd__
mov edx, ebx
sub esi, 4
jb 0x4243e3
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4243ec
add edx, 4
add eax, 4
sub esi, 4
jae 0x4243d2
cmp esi, 0xfffffffc
je 0x424555
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x424429
cmp esi, 0xfffffffd
je 0x424555
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x424429
cmp esi, 0xfffffffe
je 0x424555
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x424429
cmp esi, 0xffffffff
je 0x424555
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x424555
mov bl, byte [ebx]
test bl, bl
je 0x424562
mov esi, dword [ebp - 0x101c]
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x42444b
mov ecx, esi
call fcn.00408b80
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov byte [eax + ecx], bl
inc eax
inc edi
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x1018]
mov dword [esi + 4], eax
jmp 0x42439a
mov eax, dword [ebp - 0x1040]
lea ebx, [eax + edi]
cmp ebx, ecx
ja 0x4244fa
lea ecx, [ebp - 0x1010]
mov esi, eax
add ecx, edi
mov edx, str.___Install__UTF_8_
sub esi, 4
jb 0x4244a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4244a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x424490
cmp esi, 0xfffffffc
je 0x4244df
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4244d3
cmp esi, 0xfffffffd
je 0x4244df
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4244d3
cmp esi, 0xfffffffe
je 0x4244df
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4244d3
cmp esi, 0xffffffff
je 0x4244df
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4244df
mov ecx, dword [ebp - 0x1018]
inc edi
jmp 0x424394
mov esi, dword [ebp - 0x101c]
mov al, 1
mov ecx, dword [ebp - 0x1018]
mov edi, ebx
mov byte [ebp - 0x1011], al
jmp 0x4243a0
mov ebx, dword [ebp - 0x1024]
lea eax, [ebp - 0x1010]
sub ecx, edi
add ebx, edi
push ecx
adc dword [ebp - 0x1038], 0
add eax, edi
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], ecx
push eax
mov dword [ebp - 0x1024], ebx
call fcn.00437570
mov edx, dword [ebp - 0x1038]
add esp, 0xc
test edx, edx
ja 0x424559
jb 0x424544
cmp ebx, 0x100000
ja 0x424559
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp - 0x1030]
jmp 0x424311
mov bl, 1
jmp 0x424564
cmp dword [esi + 4], 0
sete bl
jmp 0x424564
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1030]
cmp eax, 0xffffffff
je 0x42457d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004340eb
mov esp, ebp
pop ebp
ret 8