Function at 0x42fed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x42ff05
cmp byte [ecx + 0xb], 0
js 0x43009c
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
xor esi, esi
push esi
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.004d1114
add esp, 0xc
xor eax, eax
dec eax
lea edi, [esp + 0x60]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x20]
push 0xbb
push str..._.._base_files_file_util.cc
push str.ReadStreamToStringWithMaxSize
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push esi
push ebx
call fcn.004c7be0
mov dword [ebx + 0x30], esi
pxor xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
push dword [ebp + 8]
call fcn.004d114c
add esp, 4
push eax
call fcn.004d11cb
add esp, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4300ad
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
xor eax, eax
mov edi, edx
neg edi
mov edi, 0
sbb edi, ecx
cmovl eax, ecx
mov ebx, 0xffff
cmovl ebx, edx
mov edx, dword [ebp + 0xc]
cmp edx, ebx
mov ecx, 0
sbb ecx, eax
cmovb ebx, edx
inc ebx
lea edi, [esp + 0x10]
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
mov ecx, edi
push esi
push ebx
call fcn.004b8480
cmp byte [edi + 0xb], 0
jns 0x42ffe8
mov edi, dword [esp + 0x10]
push dword [ebp + 8]
push ebx
push 1
push edi
call fcn.004d112f
add esp, 0x10
test eax, eax
je 0x430029
xor esi, esi
mov edi, 0x10000
mov ecx, dword [ebp + 0xc]
sub ecx, esi
cmp ecx, eax
jb 0x4300b9
test esi, esi
cmove ebx, edi
add esi, eax
push dword [ebp + 8]
call fcn.004d119f
add esp, 4
test eax, eax
je 0x4300bd
push dword [ebp + 8]
call fcn.004d1173
add esp, 4
test eax, eax
sete bl
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x430074
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + 8], esi
movq xmm0, qword [esp + 0x10]
movq qword [ecx], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
push 0
push dword [esp + 0x10]
call fcn.004b8480
cmp byte [esp + 0x1b], 0
js 0x4300fa
lea ecx, [esp + 0x60]
call fcn.004c7b60
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x42ff05
mov ebx, 0xffff
xor eax, eax
jmp 0x42ffb9
xor ebx, ebx
jmp 0x43003d
lea eax, [esi + ebx]
lea ecx, [esp + 0x10]
push 0
push eax
call fcn.004b8480
lea ecx, [esp + 0x10]
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x4300dc
mov eax, dword [esp + 0x10]
add eax, esi
push dword [ebp + 8]
push ebx
push 1
push eax
call fcn.004d112f
add esp, 0x10
test eax, eax
jne 0x430002
jmp 0x430029
push dword [esp + 0x10]
call fcn.004cf0d6
add esp, 4
jmp 0x43007b