Function at 0x501cb0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x540385
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov eax, dword [esp + 0x338]
mov esi, ecx
xor edi, edi
push 0x24c
lea ecx, [esp + 0xcc]
push edi
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0xd0], edi
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
lea ecx, [esp + 0x24]
call dword [0x55a520]
mov dword [esp + 0x330], edi
push str..
lea ecx, [esp + 0x24]
call dword [0x55a294]
xor eax, eax
mov dword [esp + 0x31a], eax
mov dword [esp + 0x31e], eax
mov word [esp + 0x322], ax
push 6
lea eax, [esp + 0x31c]
push eax
xor edx, edx
push 0x59
mov word [esp + 0x324], dx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xc4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.libUtils.module_public:_class_xmlElement____thiscall_xmlElement::GetChildPtr_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
mov dword [esp + 0x64], eax
jmp 0x501da4
mov esi, dword [esp + 0x68]
mov ecx, 0x58ba38
lea eax, [esp + 0xf0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x501dd6
test dx, dx
je 0x501dd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x501dd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x501db0
xor eax, eax
jmp 0x501ddb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5021d4
lea eax, [esp + 0xf0]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x501df0
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x5021d4
test byte [esp + 0xc4], 0x10
je 0x5021d4
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov byte [esp + 0x330], 1
lea eax, [esp + 0x60]
push esi
push eax
mov edi, 0x56152c
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0x330], 2
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x330], 1
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x18]
call dword [0x55a294]
push str.info.xml
lea ecx, [esp + 0x18]
call dword [0x55a294]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5021c2
lea ecx, [esp + 0x74]
call dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::constructor_void_]
mov bl, 3
mov byte [esp + 0x330], bl
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.libUtils.module_lutXMLStandardParseF]
add esp, 0xc
cmp byte [esp + 0xb4], 0
je 0x5021b0
push str.author
lea ecx, [esp + 0x3c]
call dword [0x55a504]
mov byte [esp + 0x330], 4
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x78]
call ebp
mov dword [esp + 0x30], eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.authorUrl
lea ecx, [esp + 0x4c]
call dword [0x55a504]
mov byte [esp + 0x330], 5
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x78]
call ebp
mov dword [esp + 0x40], eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.authorMail
lea ecx, [esp + 0x50]
call dword [0x55a504]
mov byte [esp + 0x330], 6
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x78]
call ebp
mov esi, eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.uiFont
lea ecx, [esp + 0x40]
call dword [0x55a504]
mov byte [esp + 0x330], 7
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x78]
call ebp
mov edi, eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.langNativeName
lea ecx, [esp + 0x48]
call dword [0x55a504]
mov byte [esp + 0x330], 8
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
call ebp
mov dword [esp + 0x18], eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.langEnglishName
lea ecx, [esp + 0x38]
call dword [0x55a504]
mov byte [esp + 0x330], 9
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x78]
call ebp
mov dword [esp + 0x24], eax
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp dword [esp + 0x30], 0
je 0x5021b0
test esi, esi
je 0x5021b0
cmp dword [esp + 0x40], 0
je 0x5021b0
test edi, edi
je 0x5021b0
cmp dword [esp + 0x24], 0
je 0x5021b0
cmp dword [esp + 0x18], 0
je 0x5021b0
cmp dword [esp + 0x33c], 0
je 0x5020dd
mov ebx, dword [esp + 0x1c]
add ebx, 0x48
lea esi, [esp + 0x28]
call fcn.00419580
lea edi, [esp + 0x6c]
call fcn.0042e9d0
mov esi, eax
lea edi, [esp + 0x28]
call fcn.00504d10
test al, al
je 0x5020db
lea eax, [esp + 0x28]
call fcn.00413720
lea edx, [esp + 0xf0]
push edx
lea ecx, [eax + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x5020c4
lea esi, [esp + 0x28]
call fcn.004ea0e0
lea edi, [esp + 0x6c]
call fcn.0042e9d0
mov esi, eax
lea edi, [esp + 0x28]
call fcn.00504d10
test al, al
jne 0x502083
jmp 0x5020db
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push ebx
lea ebx, [esp + 0xc8]
call fcn.00504c30
mov bl, 3
lea edx, [esp + 0x50]
push edx
call fcn.00502240
mov byte [esp + 0x330], 0xa
mov eax, dword [esp + 0x30]
add eax, 0x3c
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov ecx, dword [esp + 0x40]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea edx, [esp + 0xf0]
push edx
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x318]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x502156
test dx, dx
je 0x502152
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x502156
add eax, 4
add ecx, 4
test dx, dx
jne 0x502130
xor eax, eax
jmp 0x50215b
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x3c]
test eax, eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
push edx
lea edx, [esp + 0x58]
push ecx
jne 0x50217f
push str._s___s__System_Default__by__s_
jmp 0x502184
push str._s___s__by__s_
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x48
call fcn.00504bd0
mov byte [esp + 0x330], bl
lea ecx, [esp + 0x50]
push ecx
call fcn.0049a860
mov byte [esp + 0x330], 1
lea ecx, [esp + 0x74]
call dword [sym.imp.libUtils.module_public_virtual:_void___thiscall_xmlElement::destructor_void_]
mov byte [esp + 0x330], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x64]
lea edx, [esp + 0xc4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x501da0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x64]
mov dword [esp + 0x330], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.00532776
add esp, 0x320
ret 8