Function at 0x45de91
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x5f8
mov esi, esp
mov edi, ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esi + 0x5f0], eax
lea ebx, [esi + 0x48]
mov ecx, ebx
push 8
push str.C:Users
call fcn.004808b0
lea eax, [esi + 0x3c]
mov ecx, ebx
push 1
push 0x5ca0b0
push eax
call fcn.00481700
xor ecx, ecx
lea eax, [esi + 0x30]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
lea ebx, [esi + 0x150]
push eax
push ebx
lea eax, [esi + 0x3c]
push eax
call dword [edx]
test eax, eax
mov dword [esi + 0x10], edi
je 0x45df67
mov ebx, eax
push 2
call fcn.00483a10
add esp, 4
mov ecx, ebx
and ecx, 0xfffffffe
mov dword [esi + 0xc], 0x100
cmp ecx, 2
je 0x45e59e
test al, al
je 0x45e59e
lea edi, [esi + 0x3a0]
mov ecx, edi
push 2
push 0x88
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00483ab0
lea eax, [esi + 0x3a8]
push 0x21
push str.FindFirstFile_failed_with_status
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00463030
mov ecx, edi
mov edi, dword [esi + 0x10]
call fcn.00483e50
jmp 0x45e59e
lea ebx, [esi + 0x150]
test byte [esi + 0x150], 0x10
je 0x45e580
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
lea eax, [esi + 0x17c]
push eax
call fcn.005b0e94
add esp, 4
cmp eax, 0x7ffffff0
jae 0x45e5e1
mov ebx, eax
cmp eax, 5
jae 0x45dfb2
mov byte [esi + 0x2b], bl
lea edi, [esi + 0x20]
test ebx, ebx
jne 0x45dfdb
jmp 0x45dff0
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x45e5e9
lea eax, [edi + edi]
push eax
call fcn.00596296
add esp, 4
mov dword [esi + 0x20], eax
or edi, 0x80000000
mov dword [esi + 0x28], edi
mov edi, eax
mov dword [esi + 0x24], ebx
mov eax, ebx
add eax, ebx
push eax
lea eax, [esi + 0x17c]
push eax
push edi
call fcn.00599c40
add esp, 0xc
mov word [edi + ebx*2], 0
mov cl, byte [esi + 0x2b]
test cl, cl
mov eax, dword [esi + 0x24]
movzx edx, cl
mov edi, edx
cmovs edi, eax
cmp edi, 1
jne 0x45e02f
lea ecx, [esi + 0x20]
push 1
push 0x5c9eca
push 0xffffffffffffffff
push 0
call fcn.00479c9a
test eax, eax
je 0x45e1ab
mov cl, byte [esi + 0x2b]
mov eax, dword [esi + 0x24]
movzx edx, cl
test cl, cl
mov edi, edx
cmovs edi, eax
cmp edi, 2
jne 0x45e05f
lea ecx, [esi + 0x20]
push 2
push 0x5ca0d6
push 0xffffffffffffffff
push 0
call fcn.00479c9a
test eax, eax
je 0x45e1ab
mov cl, byte [esi + 0x2b]
mov eax, dword [esi + 0x24]
movzx edx, cl
lea edi, [esi + 0x20]
test cl, cl
jns 0x45e06b
mov edi, dword [esi + 0x20]
mov edx, eax
lea ecx, [esi + 0x48]
push edx
push edi
lea edi, [esi + 0x114]
push edi
call fcn.00481700
mov ecx, edi
mov ebx, 7
push ebx
push 0x5ca0dc
lea edi, [esi + 0x12c]
push edi
call fcn.00481700
mov ecx, edi
push ebx
push str.Roaming
lea edi, [esi + 0x138]
push edi
call fcn.00481700
mov ecx, edi
push 9
push str.Microsoft
lea edi, [esi + 0x144]
push edi
call fcn.00481700
mov ecx, edi
push ebx
push str.Windows
lea ebx, [esi + 0x64]
push ebx
call fcn.00481700
mov ecx, ebx
push 0xa
push str.Start_Menu
lea edi, [esi + 0x3a0]
push edi
call fcn.00481700
mov ecx, edi
push 8
push str.Programs
lea eax, [esi + 0x14]
push eax
call fcn.00481700
mov ecx, edi
call fcn.00480970
mov ecx, ebx
call fcn.00480970
lea ecx, [esi + 0x144]
call fcn.00480970
lea ecx, [esi + 0x138]
call fcn.00480970
lea ecx, [esi + 0x12c]
call fcn.00480970
lea ecx, [esi + 0x114]
call fcn.00480970
mov dword [esi + 4], esp
sub esp, 0x14
mov ebx, esp
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esi], ebx
mov dword [ebx + 8], edi
test edi, edi
je 0x45e151
lock inc dword [edi + 4]
mov dword [esi + 8], edi
mov eax, dword [eax]
lea edi, [esi + 0x14]
mov ebx, dword [esi]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], ecx
mov ecx, dword [0x6411f0]
mov edi, dword [ecx + 4]
test edi, edi
mov ebx, dword [esi + 4]
je 0x45e199
add ecx, 4
mov edx, ecx
xor ebx, ebx
cmp dword [edi + 0x10], eax
setb bl
cmovae edx, edi
mov edi, dword [edi + ebx*4]
test edi, edi
jne 0x45e17b
cmp edx, ecx
mov ebx, dword [esi + 4]
je 0x45e199
cmp eax, dword [edx + 0x10]
jae 0x45e1b5
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x45e530
jmp 0x45e544
mov ebx, 4
jmp 0x45e55e
add edx, 0x14
lea ecx, [esi + 0x144]
push edx
call fcn.0047838e
lea ecx, [esi + 0x14]
push 7
push str.Startup
lea edi, [esi + 0x138]
push edi
call fcn.00481700
mov ecx, edi
push 5
push 0x5ca158
lea edi, [esi + 0x12c]
push edi
call fcn.00481700
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [esi + 0x120]
push edx
lea edx, [esi + 0x3a0]
push edx
push edi
call dword [eax]
mov ecx, eax
and ecx, 0xfffffffe
xor edi, edi
cmp ecx, 2
je 0x45e500
test eax, eax
lea ebx, [esi + 0x110]
je 0x45e257
mov dword [esi], eax
mov edi, 0x100
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45e4fd
lea ebx, [esi + 0x64]
mov ecx, ebx
push 2
push 0x48
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00483ab0
push 0x21
push str.FindFirstFile_failed_with_status
jmp 0x45e4e1
cmp word [esi + 0x3cc], 0
je 0x45e275
xor ecx, ecx
lea eax, [ecx + 1]
cmp word [esi + ecx*2 + 0x3ce], 0
mov ecx, eax
jne 0x45e263
jmp 0x45e277
xor eax, eax
lea ecx, [esi + 0x138]
push eax
lea eax, [esi + 0x3cc]
push eax
lea edi, [esi + 0x114]
push edi
call fcn.00481700
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0
push edi
push ebx
call dword [eax + 0xc]
mov eax, dword [esi + 0x110]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x45e2f5
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45e41c
call fcn.00484390
lea edi, [esi + 0x64]
mov ecx, edi
push eax
push 2
push 0x52
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.004844c0
push 0x13
push str.Failed_to_open_file
lea eax, [esi + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, edi
call fcn.00484570
jmp 0x45e41c
mov ebx, dword [esi + 0x3c0]
xor ecx, ecx
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], ecx
test ebx, ebx
je 0x45e332
lea ecx, [esi + 0x58]
push ebx
call fcn.0040e622
mov edi, dword [esi + 0x5c]
push ebx
push 0
push edi
call fcn.0059a740
add esp, 0xc
add edi, ebx
mov dword [esi + 0x5c], edi
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x110]
jmp 0x45e334
xor edi, edi
xor edx, edx
mov dword [esi + 0x54], edx
sub edi, ecx
push edx
lea edx, [esi + 0x54]
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
lea ebx, [esi + 0x110]
je 0x45e3c0
movzx ecx, byte [esi + 0x14f]
mov eax, ecx
test cl, cl
jns 0x45e366
mov eax, dword [esi + 0x148]
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x54], eax
jne 0x45e404
lea edx, [esi + 0x144]
test cl, cl
jns 0x45e382
mov edx, dword [esi + 0x144]
push eax
push edx
push edi
call fcn.00598d2d
add esp, 0xc
test eax, eax
jne 0x45e404
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
mov byte [eax], 1
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x45e401
mov ecx, edi
lea ebx, [esi + 0x114]
push ebx
call fcn.0043b418
mov ecx, edi
push 7
push ebx
lea ebx, [esi + 0x110]
call fcn.0043b422
jmp 0x45e401
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45e401
call fcn.00484390
lea edi, [esi + 0x64]
mov ecx, edi
push eax
push 2
push 0x5a
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.004844c0
push 0x13
push str.Failed_to_read_file
lea eax, [esi + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, edi
call fcn.00484570
mov edi, dword [esi + 0x58]
test edi, edi
je 0x45e414
mov dword [esi + 0x5c], edi
push edi
call fcn.00596316
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, ebx
call fcn.00408ad6
lea ecx, [esi + 0x114]
call fcn.00480970
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [esi + 0x3a0]
push edx
push dword [esi + 0x124]
push dword [esi + 0x120]
call dword [eax + 4]
test eax, eax
je 0x45e257
mov edi, eax
push 2
call fcn.00483a10
add esp, 4
cmp edi, 0x12
je 0x45e49b
test al, al
je 0x45e49b
lea ebx, [esi + 0x64]
mov ecx, ebx
push 2
push 0x67
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00483ab0
push 0x22
push str.find_next_file_failed_with_status
lea eax, [esi + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push edi
call fcn.00463030
mov ecx, ebx
call fcn.00483e50
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push dword [esi + 0x124]
push dword [esi + 0x120]
call dword [eax + 8]
mov ebx, eax
push 2
call fcn.00483a10
add esp, 4
xor edi, edi
test al, al
je 0x45e4fd
test ebx, ebx
je 0x45e4fd
mov dword [esi], ebx
lea ebx, [esi + 0x64]
mov ecx, ebx
push 2
push 0x6b
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00483ab0
push 0x1e
push str.find_close_failed_with_status
lea eax, [esi + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push dword [esi]
call fcn.00463030
mov ecx, ebx
call fcn.00483e50
mov ebx, dword [esi + 4]
lea ecx, [esi + 0x12c]
call fcn.00480970
lea ecx, [esi + 0x138]
call fcn.00480970
cmp byte [esi + 0x14f], 0
jns 0x45e52d
push dword [esi + 0x144]
call fcn.00596316
add esp, 4
mov ecx, dword [esi + 8]
lock dec dword [ecx + 4]
jne 0x45e544
add ecx, 4
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
push 1
call dword [eax + 0x10]
mov esp, ebx
xor ebx, ebx
test edi, edi
setne bl
mov eax, dword [esi + 0xc]
cmovne eax, edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x14]
call fcn.00480970
cmp byte [esi + 0x2b], 0
mov edi, dword [esi + 0x10]
jns 0x45e572
push dword [esi + 0x20]
call fcn.00596316
add esp, 4
or ebx, 4
cmp ebx, 4
lea ebx, [esi + 0x150]
jne 0x45e59e
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
push ebx
push dword [esi + 0x34]
push dword [esi + 0x30]
call dword [eax + 4]
test eax, eax
je 0x45df6d
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x3c]
call fcn.00480970
lea ecx, [esi + 0x48]
call fcn.00480970
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45e5c9
lock dec dword [ecx + 4]
jne 0x45e5c9
add ecx, 4
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
push 1
call dword [eax + 0x10]
mov ecx, dword [esi + 0x5f0]
xor ecx, ebp
call fcn.00596351
mov eax, dword [esi + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x20]
call fcn.00478354
call fcn.005aa3fa