Function at 0x442490
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b859
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x600f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.installcert_override.txt
lea eax, [ebp - 0x3f8]
mov dword [ebp - 4], 0
push 0x5e2a28
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push 0
push eax
call fcn.00540250
add esp, 0xc
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x228]
cmovae edx, dword [ebp + 8]
call fcn.00441820
cmp byte [ebp - 0x228], 0
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jne 0x442535
xor ecx, ecx
jmp 0x442549
lea ecx, [ebp - 0x228]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442540
sub ecx, edx
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x428]
call fcn.004085a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x428]
cmp dword [ebp - 0x414], 0x10
mov dword [ebp - 0x3fc], 0xf
cmovae edx, dword [ebp - 0x428]
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
cmp byte [edx], 0
jne 0x442598
xor ecx, ecx
jmp 0x4425a9
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4425a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x410]
call fcn.004085a0
cmp dword [ebp - 0x3fc], 0x10
lea eax, [ebp - 0x410]
cmovae eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4425da
xor esi, esi
jmp 0x4425e3
movzx esi, al
shr esi, 4
and esi, 1
cmp dword [ebp - 0x3fc], 0x10
jb 0x4425fa
push dword [ebp - 0x410]
call fcn.0053e195
add esp, 4
test esi, esi
je 0x442b15
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x2f0]
push str._s.
push eax
call fcn.0041ba60
add esp, 0xc
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x61c], esi
cmp esi, 0xffffffff
je 0x442b15
test byte [ebp - 0x610], 0x10
je 0x442af3
mov ecx, 0x5dc12c
lea eax, [ebp - 0x5e4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442688
test dl, dl
je 0x442684
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442688
add eax, 2
add ecx, 2
test dl, dl
jne 0x442668
xor eax, eax
jmp 0x44268d
sbb eax, eax
or eax, 1
test eax, eax
je 0x442af3
mov ecx, 0x5e24b8
lea eax, [ebp - 0x5e4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4426c0
test dl, dl
je 0x4426bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4426c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4426a0
xor eax, eax
jmp 0x4426c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x442af3
push str.cert_override.txt
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push 0x5e24bc
push eax
call fcn.00433f00
add esp, 0x14
mov dword [ebp - 0x3fc], 0xf
cmp byte [ebp - 0x120], 0
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
jne 0x44271c
xor ecx, ecx
jmp 0x44272e
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442725
sub ecx, edx
push ecx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x410]
call fcn.004085a0
cmp dword [ebp - 0x3fc], 0x10
lea eax, [ebp - 0x410]
push 0x5e2370
cmovae eax, dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x614]
push eax
call fcn.005418e3
add esp, 0xc
test eax, eax
jne 0x442783
push dword [ebp - 0x614]
call fcn.005413f4
add esp, 4
mov esi, 1
jmp 0x442785
xor esi, esi
cmp dword [ebp - 0x3fc], 0x10
jb 0x44279c
push dword [ebp - 0x410]
call fcn.0053e195
add esp, 4
test esi, esi
je 0x442800
xor esi, esi
lea edi, [ebx + 0x44]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.004083b0
movdqa xmm0, xmmword [0x5e6d60]
lea eax, [ebp - 0x120]
movdqu xmmword [ebp - 0x630], xmm0
mov dword [ebp - 0x620], 0xbff2
push dword [ebp + esi*4 - 0x630]
push ecx
push eax
mov ecx, ebx
call fcn.00440760
inc esi
cmp esi, 5
jb 0x4427a5
jmp 0x442a0e
mov dword [ebp - 0x3fc], 0xf
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
mov byte [ebp - 4], 2
lea edi, [ebx + 0x44]
xor esi, esi
movdqa xmm0, xmmword [0x5e6d60]
xor eax, eax
movdqu xmmword [ebp - 0x630], xmm0
mov dword [ebp - 0x620], 0xbff2
push dword [ebp + esi*4 - 0x630]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x18]
push 0x5dc5b8
push eax
call fcn.00444ad0
add esp, 0xc
lea ecx, [ebp - 0x410]
push 0xa
push str.127.0.0.1:
call fcn.00408210
cmp byte [ebp - 0x18], 0
jne 0x44287b
xor eax, eax
jmp 0x44288a
lea eax, [ebp - 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x442881
sub eax, edx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x410]
call fcn.00408210
push 1
push 0x5e2828
lea ecx, [ebp - 0x410]
call fcn.00408210
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x410]
call fcn.00408150
push 1
push 0x5dba44
lea ecx, [ebp - 0x410]
call fcn.00408210
inc esi
cmp esi, 5
jb 0x442824
push 0xa8
lea eax, [ebp - 0x4d0]
push 0
push eax
call fcn.00540250
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00443ef0
lea edx, [ebx + 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d0]
call fcn.0041b2e0
mov edx, 0x5dba44
mov ecx, eax
call fcn.0041b540
lea edx, [ebx + 0x2c]
lea ecx, [ebp - 0x4d0]
call fcn.0041b2e0
mov edx, 0x5dba44
mov ecx, eax
call fcn.0041b540
lea edx, [ebp - 0x410]
lea ecx, [ebp - 0x4d0]
call fcn.0041b2e0
lea ecx, [ebp - 0x4cc]
call fcn.00444670
test eax, eax
jne 0x44297d
mov eax, dword [ebp - 0x4d0]
lea ecx, [ebp - 0x4d0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x442975
or eax, 4
push 0
push eax
call fcn.0040d550
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x4d4], eax
lea ecx, [ebp - 0x4cc]
call fcn.004434e0
mov eax, dword [ebp - 0x4d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x4d4], eax
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00565104
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3fc], 0x10
jb 0x442a0e
push dword [ebp - 0x410]
call fcn.0053e195
add esp, 4
push str.prefs.js
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push str._s_s_s
push eax
call fcn.00433f00
add esp, 0x14
mov dword [ebp - 0x3fc], 0xf
cmp byte [ebp - 0x120], 0
mov dword [ebp - 0x400], 0
mov byte [ebp - 0x410], 0
jne 0x442a5d
xor ecx, ecx
jmp 0x442a6f
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442a66
sub ecx, edx
push ecx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x410]
call fcn.004085a0
cmp dword [ebp - 0x3fc], 0x10
lea eax, [ebp - 0x410]
push 0x5e2370
cmovae eax, dword [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.005418e3
add esp, 0xc
test eax, eax
jne 0x442ac4
push dword [ebp - 0x618]
call fcn.005413f4
add esp, 4
mov esi, 1
jmp 0x442ac6
xor esi, esi
cmp dword [ebp - 0x3fc], 0x10
jb 0x442add
push dword [ebp - 0x410]
call fcn.0053e195
add esp, 4
test esi, esi
je 0x442aed
lea eax, [ebp - 0x120]
push eax
call fcn.00440c90
mov esi, dword [ebp - 0x61c]
lea eax, [ebp - 0x610]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442650
push dword [ebp - 0x61c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x414], 0x10
jb 0x442b2c
push dword [ebp - 0x428]
call fcn.0053e195
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jb 0x442b58
push dword [ebp + 8]
call fcn.0053e195
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053cd12
mov esp, ebp
pop ebp
ret 0x18