Function at 0x4062e3
Capabilities:
Enumerate files on windows
Get geographical location

Disassembly:
push 0x52c
mov eax, 0x40bfa6
call fcn.0040b2ef
mov eax, dword [ebp + 8]
mov dword [ebp - 0x508], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4fc], ecx
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50c], eax
mov edi, 0x4149e0
mov dword [ebp - 0x504], 0x80004005
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], 0x5c
je 0x406349
push 0x40e2dc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push 0x40e6a0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov byte [ebp - 4], 1
and dword [0x4149e4], 0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x406376
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4f8], eax
cmp eax, 0xffffffff
jne 0x4063d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4fc], esp
push str.CResourceLoader::LoadResUsingExactLocale___invalid_handle.
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.00406cb3
mov esi, 0x80030002
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x40666a
test byte [ebp - 0x2a0], 0x10
je 0x406559
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
mov esi, eax
pop ecx
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x406559
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x406559
mov ebx, esi
shr si, 0xa
movzx eax, si
mov dword [ebp - 0x500], eax
mov eax, dword [edi]
mov ecx, edi
and ebx, 0x3ff
call dword [eax + 0x1c]
mov esi, 0x3ff
mov ecx, esi
and ax, cx
cmp bx, ax
jne 0x406518
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
shr ax, 0xa
cmp word [ebp - 0x500], ax
jne 0x406518
mov ecx, dword [ebp - 0x50c]
lea eax, [ebp - 0x4f4]
push eax
lea ebx, [ebp - 0x538]
call fcn.0040597f
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call dword [0x40d16c]
mov ecx, ebx
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x406495
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x4f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4f4], eax
cmp eax, 0xffffffff
je 0x406559
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 0x28]
call dword [0x40d16c]
lea ecx, [ebp - 0x4f4]
call fcn.00406ad5
push dword [ebp - 0x4f4]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, eax
mov dword [ebp - 0x504], esi
call ebx
test esi, esi
jge 0x40657b
cmp esi, 0x80030002
jne 0x40650b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4fc], esp
push str.CResourceLoader::LoadResUsingExactLocale_failed_to_load_resource_DLL.
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.00406cb3
push dword [ebp - 0x4f8]
call ebx
jmp 0x4063af
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
and ax, si
cmp bx, ax
jne 0x4065f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
shr ax, 0xa
cmp word [ebp - 0x500], ax
je 0x4065f8
lea eax, [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x508]
mov byte [ebp - 4], 3
call fcn.00406d03
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x4f8]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4063d0
cmp dword [ebp - 0x4f8], 0xffffffff
je 0x406590
push dword [ebp - 0x4f8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [edi + 4], 0
jne 0x40664e
mov esi, dword [ebp - 0x504]
jmp 0x4063af
lea eax, [ebp - 0x4f4]
push eax
mov eax, dword [ebp - 0x4fc]
mov byte [ebp - 4], 5
jmp 0x406554
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
call fcn.0040b34b
ret 8