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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec96c
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x4a0], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.005bb1c0
add esp, 0xc
lea eax, [ebp - 0x498]
push 0x24c
push edi
push eax
mov dword [ebp - 0x49c], edi
call fcn.005bb1c0
add esp, 0xc
xor eax, eax
push 0xf
push str.LATEST_XML.PATH
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4a4], 7
mov dword [ebp - 0x4a8], edi
mov word [ebp - 0x4b8], ax
call fcn.00406400
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00409910
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4a4], 8
jb 0x46b75e
push dword [ebp - 0x4b8]
call fcn.0049500b
add esp, 4
xor eax, eax
push eax
push 0x624ff8
push dword [ebp - 0x23c]
mov dword [ebp - 0x4a4], 7
push ecx
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x4a8], 0
mov word [ebp - 0x4b8], ax
call fcn.00407060
test eax, eax
je 0x46b823
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [ebp - 0x24c]
jne 0x46b7fa
cmp dword [ebp - 0x238], 8
cmovae eax, dword [ebp - 0x24c]
push eax
push str._CInfoMgr::IsEULAIJPLM__GetFileAttributes___Failed___fPath:_s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor edi, edi
jmp 0x46b9db
cmp dword [ebp - 0x238], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x24c]
push eax
push 0x104
push ebx
call fcn.005b9367
add esp, 0x10
mov edi, 1
jmp 0x46b9db
push 3
xor eax, eax
push 0x626dbc
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x4bc], 7
mov dword [ebp - 0x4c0], 0
mov word [ebp - 0x4d0], ax
call fcn.00406400
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call fcn.00409910
mov esi, eax
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x46b8b8
cmp dword [ebp - 0x220], 8
jb 0x46b88f
push dword [ebp - 0x234]
call fcn.0049500b
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.00405f10
cmp dword [ebp - 0x4d4], 8
jb 0x46b8cf
push dword [ebp - 0x4e8]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4bc], 8
mov dword [ebp - 0x4d4], 7
mov dword [ebp - 0x4d8], 0
mov word [ebp - 0x4e8], ax
jb 0x46b903
push dword [ebp - 0x4d0]
call fcn.0049500b
add esp, 4
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.005b9367
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push 0xffffffffffffffff
push eax
push 0x104
push ebx
call fcn.005b9367
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x20
lea eax, [ebp - 0x21c]
push 0x63e8a8
push eax
call esi
push 0x62c244
lea eax, [ebp - 0x21c]
push eax
call esi
push 0x63e8a8
push ebx
call esi
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46b9db
test byte [ebp - 0x49c], 0x10
je 0x46b9c1
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x49c]
push eax
push esi
call ebx
test eax, eax
je 0x46b9d4
test byte [ebp - 0x49c], 0x10
jne 0x46b9a4
mov ebx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x470]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x238], 8
jb 0x46b9f2
push dword [ebp - 0x24c]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x46ba26
push dword [ebp - 0x234]
call fcn.0049500b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4