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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d524
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4b42b0]
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 esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x2a0], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push dword [ecx + 0x1c]
lea edi, [ecx + 0x1c]
mov dword [ebp - 4], 0
mov ebx, 1
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x270], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439e27
test al, 0x10
je 0x439e27
lea eax, [ebp - 0x29c]
push str.CWQgIDkgPiELES4iOyshECAmODc5CykUFDEyHhcCMQovCToHAToIOSEMAwEnOS0WPT8GMx84MSMuPAgpFgkdKQgRIzMTNigrNxMAOwQ1HBEcNRcNMzMnByIfLD0oGSYDCS8AAABg
push eax
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 4], ebx
sar eax, 1
jne 0x439b24
push str.invalid_vector_T__subscript
call fcn.00441bba
push ecx
lea eax, [ebp - 0x278]
push edi
push eax
call fcn.00436be0
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x278]
mov edi, eax
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x439b66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x29c]
mov byte [ebp - 4], 0
test eax, eax
je 0x439b9b
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
cmp edi, 0xffffffff
je 0x439e27
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x439e1a
test byte [ebp - 0x264], 0x10
je 0x439ba4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x26c], 0
push eax
lea ecx, [ebp - 0x26c]
call fcn.00411470
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 2
push str.ewQIFxMbKh8NjweFTQAAj4eHRccMw8bMyAtHSoyFwstPCENATUyBhg4PCgyKg0fGQAACQAUKwcIKg0oHQoNCj4TLTAbPy0uOx8LJRIBgggKiIeDzERDxksNzYtKAcmOjsAAABh
push eax
call fcn.00429e10
add esp, 8
mov ecx, dword [eax]
or ebx, 2
mov eax, dword [eax + 4]
sub eax, ecx
mov byte [ebp - 4], 3
sar eax, 1
mov dword [ebp - 0x270], ebx
je 0x439b1a
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x439e10
mov eax, dword [ebp - 0x26c]
jmp 0x439c30
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x439c56
test dx, dx
je 0x439c52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x439c56
add eax, 4
add ecx, 4
test dx, dx
jne 0x439c30
xor eax, eax
jmp 0x439c5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x439ce6
lea eax, [ebp - 0x284]
push str.e2A2EwEQGyE1MQM6CjkbOB4wBDclFQEnIgw1AwgwOAkMCzcDCh8CEDwhHxobDxYWAToGNjc0DgoGBwAAADg
push eax
call fcn.00429e10
add esp, 8
mov ecx, eax
mov eax, dword [ecx]
or ebx, 4
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 4], 4
sar ecx, 1
mov dword [ebp - 0x270], ebx
je 0x439b1a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x439e10
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x439cd6
test dx, dx
je 0x439cd2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x439cd6
add ecx, 4
add eax, 4
test dx, dx
jne 0x439cb0
xor eax, eax
jmp 0x439cdb
sbb eax, eax
or eax, 1
mov byte [ebp - 0x265], 0
test eax, eax
jne 0x439ced
mov byte [ebp - 0x265], 1
test bl, 4
je 0x439d2c
mov eax, dword [ebp - 0x284]
and ebx, 0xfffffffb
mov dword [ebp - 0x270], ebx
test eax, eax
je 0x439d2c
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 4], 2
test bl, 2
je 0x439d72
mov eax, dword [ebp - 0x290]
and ebx, 0xfffffffd
mov dword [ebp - 0x270], ebx
test eax, eax
je 0x439d72
push eax
call fcn.0044317c
add esp, 4
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
cmp byte [ebp - 0x265], 0
jne 0x439de3
call fcn.00412ed0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x439e10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.00425220
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00440880
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x439de3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x439ba4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x439ba4
push 0x80004005
call fcn.00412c60
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
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.0044448b
mov esp, ebp
pop ebp
ret 4