Function at 0x45d711
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 eax, dword [0x63a1e8]
mov edi, ecx
lea ebx, [esi + 0x48]
mov ecx, ebx
xor eax, ebp
mov dword [esi + 0x5f0], eax
push 8
push str.C:Users
call fcn.0047f630
lea eax, [esi + 0x3c]
mov ecx, ebx
push 1
push 0x5c3c20
push eax
call fcn.004804c0
xor ecx, ecx
lea eax, [esi + 0x30]
lea ebx, [esi + 0x150]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push eax
push ebx
lea eax, [esi + 0x3c]
push eax
call dword [edx]
test eax, eax
mov dword [esi + 0x10], edi
je 0x45d7e7
mov ebx, eax
push 2
call fcn.004824f0
add esp, 4
mov ecx, ebx
mov dword [esi + 0xc], 0x100
and ecx, 0xfffffffe
cmp ecx, 2
je 0x45de1c
test al, al
je 0x45de1c
lea edi, [esi + 0x3a0]
mov ecx, edi
push 2
push 0x88
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00482590
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.00462850
mov ecx, edi
mov edi, dword [esi + 0x10]
call fcn.00482940
jmp 0x45de1c
lea ebx, [esi + 0x150]
test byte [esi + 0x150], 0x10
je 0x45ddfe
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.005ab4c4
add esp, 4
cmp eax, 0x7ffffff0
jae 0x45de5f
mov ebx, eax
cmp eax, 5
jae 0x45d832
test ebx, ebx
lea edi, [esi + 0x20]
mov byte [esi + 0x2b], bl
jne 0x45d85b
jmp 0x45d870
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x45de67
lea eax, [edi + edi]
push eax
call fcn.00590936
add esp, 4
or edi, 0x80000000
mov dword [esi + 0x20], eax
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.00594260
add esp, 0xc
mov word [edi + ebx*2], 0
mov cl, byte [esi + 0x2b]
mov eax, dword [esi + 0x24]
movzx edx, cl
test cl, cl
mov edi, edx
cmovs edi, eax
cmp edi, 1
jne 0x45d8af
lea ecx, [esi + 0x20]
push 1
push 0x5c3a3a
push 0xffffffffffffffff
push 0
call fcn.004794fa
test eax, eax
je 0x45da2b
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 0x45d8df
lea ecx, [esi + 0x20]
push 2
push 0x5c3c46
push 0xffffffffffffffff
push 0
call fcn.004794fa
test eax, eax
je 0x45da2b
mov cl, byte [esi + 0x2b]
mov eax, dword [esi + 0x24]
movzx edx, cl
test cl, cl
lea edi, [esi + 0x20]
jns 0x45d8eb
mov edi, dword [esi + 0x20]
mov edx, eax
lea ecx, [esi + 0x48]
push edx
push edi
lea edi, [esi + 0x114]
push edi
call fcn.004804c0
mov ecx, edi
mov ebx, 7
push ebx
push 0x5c3c4c
lea edi, [esi + 0x12c]
push edi
call fcn.004804c0
mov ecx, edi
push ebx
push str.Roaming
lea edi, [esi + 0x138]
push edi
call fcn.004804c0
mov ecx, edi
push 9
push str.Microsoft
lea edi, [esi + 0x144]
push edi
call fcn.004804c0
mov ecx, edi
push ebx
push str.Windows
lea ebx, [esi + 0x64]
push ebx
call fcn.004804c0
mov ecx, ebx
push 0xa
push str.Start_Menu
lea edi, [esi + 0x3a0]
push edi
call fcn.004804c0
mov ecx, edi
push 8
push str.Programs
lea eax, [esi + 0x14]
push eax
call fcn.004804c0
mov ecx, edi
call fcn.0047f6f0
mov ecx, ebx
call fcn.0047f6f0
lea ecx, [esi + 0x144]
call fcn.0047f6f0
lea ecx, [esi + 0x138]
call fcn.0047f6f0
lea ecx, [esi + 0x12c]
call fcn.0047f6f0
lea ecx, [esi + 0x114]
call fcn.0047f6f0
mov dword [esi + 4], esp
sub esp, 0x14
mov eax, dword [esi + 0x10]
mov ebx, esp
mov dword [esi], ebx
mov edi, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
test edi, edi
mov dword [ebx + 8], edi
je 0x45d9d1
lock inc dword [edi + 4]
mov eax, dword [eax]
mov ebx, dword [esi]
mov dword [esi + 8], edi
lea edi, [esi + 0x14]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], ecx
mov ecx, dword [0x63b1f0]
mov ebx, dword [esi + 4]
mov edi, dword [ecx + 4]
test edi, edi
je 0x45da19
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 0x45d9fb
mov ebx, dword [esi + 4]
cmp edx, ecx
je 0x45da19
cmp eax, dword [edx + 0x10]
jae 0x45da35
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
jne 0x45ddae
jmp 0x45ddc2
mov ebx, 4
jmp 0x45dddc
add edx, 0x14
lea ecx, [esi + 0x144]
push edx
call fcn.00477bde
lea ecx, [esi + 0x14]
push 7
push str.Startup
lea edi, [esi + 0x138]
push edi
call fcn.004804c0
mov ecx, edi
push 5
push 0x5c3cc8
lea edi, [esi + 0x12c]
push edi
call fcn.004804c0
mov ecx, dword [esi + 8]
lea edx, [esi + 0x120]
mov eax, dword [ecx]
push edx
lea edx, [esi + 0x3a0]
push edx
push edi
call dword [eax]
mov ecx, eax
xor edi, edi
and ecx, 0xfffffffe
cmp ecx, 2
je 0x45dd7e
test eax, eax
lea ebx, [esi + 0x110]
je 0x45dad7
mov edi, 0x100
mov dword [esi], eax
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45dd7b
lea ebx, [esi + 0x64]
mov ecx, ebx
push 2
push 0x48
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00482590
push 0x21
push str.FindFirstFile_failed_with_status
jmp 0x45dd5f
cmp word [esi + 0x3cc], 0
je 0x45daf3
xor eax, eax
cmp word [esi + eax*2 + 0x3ce], 0
lea eax, [eax + 1]
jne 0x45dae3
jmp 0x45daf5
xor eax, eax
lea ecx, [esi + 0x138]
push eax
lea eax, [esi + 0x3cc]
push eax
lea edi, [esi + 0x114]
push edi
call fcn.004804c0
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 0x45db73
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45dc9a
call fcn.00482ea0
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.00482fd0
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.00483090
jmp 0x45dc9a
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 0x45dbb0
lea ecx, [esi + 0x58]
push ebx
call fcn.0040e632
mov edi, dword [esi + 0x5c]
push ebx
push 0
push edi
call fcn.00594d60
add esp, 0xc
add edi, ebx
mov eax, dword [esi + 0x110]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi + 0x58]
jmp 0x45dbb2
xor edi, edi
xor edx, edx
sub edi, ecx
mov dword [esi + 0x54], edx
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 0x45dc3e
movzx ecx, byte [esi + 0x14f]
test cl, cl
mov eax, ecx
jns 0x45dbe4
mov eax, dword [esi + 0x148]
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x54], eax
jne 0x45dc82
test cl, cl
lea ecx, [esi + 0x144]
jns 0x45dc00
mov ecx, dword [esi + 0x144]
push eax
push ecx
push edi
call fcn.0059334d
add esp, 0xc
test eax, eax
jne 0x45dc82
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
mov byte [eax], 1
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x45dc7f
lea ebx, [esi + 0x114]
mov ecx, edi
push ebx
call fcn.0043aaa0
mov ecx, edi
push 7
push ebx
lea ebx, [esi + 0x110]
call fcn.0043aaaa
jmp 0x45dc7f
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45dc7f
call fcn.00482ea0
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.00482fd0
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.00483090
mov edi, dword [esi + 0x58]
test edi, edi
je 0x45dc92
mov dword [esi + 0x5c], edi
push edi
call fcn.005909b6
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, ebx
call fcn.00408ad0
lea ecx, [esi + 0x114]
call fcn.0047f6f0
mov ecx, dword [esi + 8]
lea edx, [esi + 0x3a0]
mov eax, dword [ecx]
push edx
push dword [esi + 0x124]
push dword [esi + 0x120]
call dword [eax + 4]
test eax, eax
je 0x45dad7
mov edi, eax
push 2
call fcn.004824f0
add esp, 4
cmp edi, 0x12
je 0x45dd19
test al, al
je 0x45dd19
lea ebx, [esi + 0x64]
mov ecx, ebx
push 2
push 0x67
push str..._.._chrome_chrome_cleaner_engines_target_test_engine_delegate.cc
call fcn.00482590
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.00462850
mov ecx, ebx
call fcn.00482940
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.004824f0
add esp, 4
xor edi, edi
test al, al
je 0x45dd7b
test ebx, ebx
je 0x45dd7b
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.00482590
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.00462850
mov ecx, ebx
call fcn.00482940
mov ebx, dword [esi + 4]
lea ecx, [esi + 0x12c]
call fcn.0047f6f0
lea ecx, [esi + 0x138]
call fcn.0047f6f0
cmp byte [esi + 0x14f], 0
jns 0x45ddab
push dword [esi + 0x144]
call fcn.005909b6
add esp, 4
mov ecx, dword [esi + 8]
lock dec dword [ecx + 4]
jne 0x45ddc2
add ecx, 4
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
push 1
call dword [eax + 0x10]
mov esp, ebx
mov eax, dword [esi + 0xc]
xor ebx, ebx
test edi, edi
lea ecx, [esi + 0x14]
setne bl
cmovne eax, edi
mov dword [esi + 0xc], eax
call fcn.0047f6f0
cmp byte [esi + 0x2b], 0
mov edi, dword [esi + 0x10]
jns 0x45ddf0
push dword [esi + 0x20]
call fcn.005909b6
add esp, 4
or ebx, 4
cmp ebx, 4
lea ebx, [esi + 0x150]
jne 0x45de1c
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 0x45d7ed
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x3c]
call fcn.0047f6f0
lea ecx, [esi + 0x48]
call fcn.0047f6f0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45de47
lock dec dword [ecx + 4]
jne 0x45de47
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.005909f1
mov eax, dword [esi + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x20]
call fcn.00477ba4
call fcn.005a471a