Function at 0x40a746
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
lea ecx, [ebp - 0x3fc]
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], eax
call fcn.0040a4aa
push str.Extensions
lea esi, [ebp - 0x30]
call fcn.0040204f
lea eax, [ebp - 0x10c]
push eax
push edi
mov ecx, esi
call fcn.0044abc8
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.004021a4
push 0x54537c
lea esi, [ebp - 0x30]
call fcn.0040204f
mov eax, esi
push eax
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.0044fbba
push ebx
call fcn.004021a4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c0]
push eax
mov dword [ebp - 0x3ec], edi
mov dword [ebp - 0x3e8], edi
mov dword [ebp - 0x3e4], edi
call fcn.0044fc82
cmp dword [ebp - 0x68], edi
je 0x40ab4b
jmp 0x40a7fe
xor edi, edi
push 7
pop eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xa4], eax
xor eax, eax
mov word [ebp - 0xb8], ax
xor ecx, ecx
lea eax, [ebp - 0x78]
push eax
lea esi, [ebp - 0x440]
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], cx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], cx
mov dword [ebp - 0xa8], edi
call fcn.0040202c
mov ecx, esi
call fcn.00449fce
mov esi, eax
mov dword [ebp - 0x3c4], esi
cmp esi, edi
jne 0x40a873
push ebx
xor edi, edi
lea esi, [ebp - 0x440]
call fcn.004021a4
jmp 0x40aaf3
push esi
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004ff746
add esp, 0x10
cmp eax, 0x10
jae 0x40a891
push esi
call fcn.004ffacc
pop ecx
jmp 0x40a860
lea edi, [ebp - 0x3c8]
lea eax, [ebp - 0x40]
call fcn.0040a40d
test al, al
je 0x40a888
mov esi, dword [ebp - 0x38]
xor edi, edi
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3dc], edi
mov dword [ebp - 0x3d8], edi
mov dword [ebp - 0x3d4], edi
call fcn.0040b29b
push dword [ebp - 0x3c4]
push dword [ebp - 0x38]
push ebx
push dword [ebp - 0x3dc]
call fcn.004ff746
add esp, 0x10
cmp eax, dword [ebp - 0x38]
jae 0x40a8f5
lea esi, [ebp - 0x3dc]
call fcn.004347fb
push dword [ebp - 0x3c4]
jmp 0x40a889
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x414], edi
call fcn.0040b29b
push dword [ebp - 0x3c4]
push dword [ebp - 0x34]
push ebx
push dword [ebp - 0x41c]
call fcn.004ff746
add esp, 0x10
cmp eax, dword [ebp - 0x34]
jae 0x40a93f
lea esi, [ebp - 0x41c]
call fcn.004347fb
jmp 0x40a8e2
mov eax, dword [ebp - 0x3d8]
sub eax, dword [ebp - 0x3dc]
lea esi, [ebp - 0x30]
push eax
push dword [ebp - 0x3dc]
call fcn.0040af38
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x40a965
mov eax, esi
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0046267a
lea eax, [ebp - 0x14]
push 0x10
push eax
lea eax, [ebp - 0x94]
call fcn.0045199f
push eax
lea eax, [ebp - 0x5c]
call fcn.0040c425
add esp, 0x14
push edi
push ebx
lea ecx, [ebp - 0x94]
call fcn.0040582f
lea esi, [ebp - 0x5c]
call fcn.0040a388
cmp dword [ebp - 0x48], 0x10
mov eax, dword [ebp - 0x5c]
jae 0x40a9c1
mov eax, esi
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x404]
call fcn.0045297f
pop ecx
push eax
lea eax, [ebp - 0xd4]
call fcn.00402a57
push ebx
xor edi, edi
lea esi, [ebp - 0x94]
call fcn.004021a4
push edi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0040582f
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040582f
lea esi, [ebp - 0x41c]
call fcn.004347fb
lea esi, [ebp - 0x3dc]
call fcn.004347fb
push dword [ebp - 0x3c4]
call fcn.004ffacc
pop ecx
push ebx
lea esi, [ebp - 0x440]
call fcn.004021a4
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040ad1c
pop ecx
test al, al
je 0x40aaf3
mov edi, dword [ebp - 0x3fc]
cmp edi, dword [ebp - 0x3f8]
je 0x40aab5
cmp dword [ebp - 0xc0], 8
mov eax, dword [ebp - 0xd4]
jae 0x40aa7a
lea eax, [ebp - 0xd4]
push dword [ebp - 0xc4]
xor esi, esi
push eax
mov eax, dword [edi + 0x10]
mov ecx, edi
call fcn.00402852
test eax, eax
je 0x40aa9c
add edi, 0x1c
cmp edi, dword [ebp - 0x3f8]
jne 0x40aa65
cmp dword [ebp - 0x3f8], edi
je 0x40aab5
lea eax, [ebp - 0xd4]
push eax
call fcn.0040a693
pop ecx
test al, al
je 0x40aaf3
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf0]
call fcn.004020dc
lea eax, [ebp - 0xf0]
push eax
lea esi, [ebp - 0x3ec]
call fcn.0040b240
sub esp, 0x1c
lea eax, [ebp - 0xd4]
mov esi, esp
push eax
call fcn.0040202c
call fcn.0040a559
add esp, 0x1c
push ebx
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.004021a4
push ebx
lea esi, [ebp - 0xd4]
call fcn.004021a4
push ebx
lea esi, [ebp - 0xf0]
call fcn.004021a4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x3c0]
push eax
call fcn.0044fc82
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0044a59f
push ebx
lea esi, [ebp - 0x94]
call fcn.004021a4
cmp dword [ebp - 0x68], edi
jne 0x40a7fc
push ebx
xor edi, edi
lea esi, [ebp - 0x78]
call fcn.004021a4
mov esi, dword [ebp - 0x3ec]
cmp esi, dword [ebp - 0x3e8]
je 0x40ac98
lea ebx, [esi + 0x1c]
lea eax, [ebx - 0x1c]
call fcn.00449a3d
test al, al
je 0x40ac80
cmp dword [ebx + 0x14], 8
jb 0x40ab85
mov edi, dword [ebx]
jmp 0x40ab87
mov edi, ebx
push str.Software360360se6ChromeExtensions
lea esi, [ebp - 0x94]
call fcn.0040204f
push 0x5448bc
push eax
call fcn.0040afbc
push eax
lea esi, [ebp - 0x5c]
call fcn.00402a37
push edi
mov eax, esi
push eax
call fcn.0040afbc
push eax
lea esi, [ebp - 0x30]
call fcn.00402a37
push 1
xor edi, edi
lea esi, [ebp - 0x5c]
call fcn.004021a4
push 1
lea esi, [ebp - 0x94]
call fcn.004021a4
and dword [ebp - 0x3cc], edi
and dword [ebp - 0x3c8], edi
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x40abee
lea eax, [ebp - 0x30]
push 0x20006
push eax
push 0x80000001
lea eax, [ebp - 0x3cc]
call fcn.0044ef31
test eax, eax
jne 0x40ac66
cmp dword [ebx - 8], 8
jb 0x40ac13
mov eax, dword [ebx - 0x1c]
jmp 0x40ac16
lea eax, [ebx - 0x1c]
push eax
push str.path
lea eax, [ebp - 0x3cc]
push eax
call fcn.0044f190
cmp dword [ebx + 0x30], 8
jb 0x40ac33
mov eax, dword [ebx + 0x1c]
jmp 0x40ac36
lea eax, [ebx + 0x1c]
push eax
push 0x542be4
lea eax, [ebp - 0x3cc]
push eax
call fcn.0044f190
push 1
push str.360chrome_extension
lea eax, [ebp - 0x3cc]
push eax
call fcn.0044f16c
lea esi, [ebp - 0x3cc]
call fcn.0044effe
lea esi, [ebp - 0x3cc]
add ebx, 0x54
call fcn.0044effe
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.004021a4
lea eax, [ebx - 0x1c]
cmp eax, dword [ebp - 0x3e8]
jne 0x40ab6b
mov esi, dword [ebp - 0x3ec]
xor ebx, ebx
inc ebx
test esi, esi
je 0x40acbe
mov edi, esi
cmp esi, dword [ebp - 0x3e8]
je 0x40acb7
push edi
call fcn.0040acf2
add edi, 0x54
cmp edi, dword [ebp - 0x3e8]
jne 0x40aca6
push esi
call fcn.004fe78e
pop ecx
lea eax, [ebp - 0x3c0]
push eax
call fcn.0044fc3b
push ebx
xor edi, edi
lea esi, [ebp - 0x10c]
call fcn.004021a4
lea esi, [ebp - 0x3fc]
call fcn.0040b61f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe191
leave
ret