Function at 0x4157c0
Capabilities:
Check if file exists
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47419c
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.004149d0
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push eax
call fcn.00414a10
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push eax
call fcn.00414ad0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 2
push eax
call fcn.00414a50
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
call fcn.00414a90
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
call fcn.00414b10
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415874
push str.MicrosoftEdge.exe
lea ecx, [ebp - 0x2c]
call fcn.0040cbc0
test eax, eax
jne 0x415a39
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
mov ecx, eax
call fcn.004131b0
test al, al
je 0x415a32
push str.MicrosoftEdge.exe
lea ecx, [ebp - 0x2c]
call fcn.0040cbc0
test eax, eax
jne 0x4158c9
push dword [0x49cca4]
push 0x40eaa0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x4158e2
mov edx, dword [0x49cca4]
mov ecx, dword [ebp - 0xc0]
call fcn.0040ed00
test al, al
je 0x415a32
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.004221d0
push 1
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x5c
push eax
lea ecx, [ebp - 0x44]
call fcn.00417cb0
cmp eax, 0xffffffff
je 0x415927
inc eax
lea ecx, [ebp - 0x44]
push eax
push 0
call fcn.00403380
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41594a
mov eax, dword [ecx]
jmp 0x41594c
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00403010
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0xc4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x415983
mov eax, dword [ecx]
jmp 0x415985
mov eax, ecx
push 1
push 0x489e18
mov byte [eax], 0
call fcn.00402f10
mov byte [ebp - 4], 8
cmp dword [0x49cc5c], 0
jne 0x4159dd
push 0xa4
call fcn.004363d9
mov esi, eax
add esp, 4
mov dword [ebp - 0xc8], esi
push 0xa4
push 0
push esi
mov byte [ebp - 4], 9
call fcn.0044f9d0
add esp, 0xc
mov ecx, esi
push 0
call fcn.004054d0
mov byte [ebp - 4], 8
mov dword [0x49cc5c], esi
push edi
mov byte [ebp - 4], 6
call fcn.00408420
lea eax, [ebp - 0xe0]
push eax
call fcn.004149d0
mov edx, 1
call fcn.0040e7f0
mov eax, dword [ebp - 0xcc]
cmp eax, 8
jb 0x415a1b
inc eax
lea ecx, [ebp - 0xe0]
push eax
push dword [ebp - 0xe0]
call fcn.00403140
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x415a39
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004031a0
jmp 0x415a39
mov ecx, edi
call fcn.00415090
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x415a4e
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x415a77
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x415aa6
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x415adb
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
cmp eax, 8
jb 0x415b16
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00403140
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], 0
cmp eax, 8
jb 0x415b48
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00403140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004363c8
mov esp, ebp
pop ebp
ret