Function at 0x10002d60
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bb51
mov eax, dword fs:[0]
push eax
mov eax, 0x1124
call fcn.10029a60
mov eax, dword [0x10048070]
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 dword [ebp - 0x1064], ecx
mov dword [ebp - 0x1130], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
xor edx, edx
mov dword [ecx + 0x2c], 7
mov dword [ecx + 0x28], eax
mov word [ecx + 0x18], dx
lea eax, [ecx + 0x30]
mov dword [ebp - 0x106c], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
mov word [eax], dx
lea ebx, [ecx + 0x48]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
mov word [ebx], ax
lea eax, [ecx + 0x60]
mov dword [ebp - 0x1074], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
mov word [eax], dx
mov dword [ecx + 0x8c], 7
mov dword [ecx + 0x88], edx
mov word [ecx + 0x78], dx
lea eax, [ecx + 0x98]
mov dword [ebp - 0x1070], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
mov word [eax], dx
lea eax, [ecx + 0xb0]
mov dword [ebp - 0x109c], eax
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
mov word [eax], dx
lea eax, [ecx + 0xc8]
mov dword [ebp - 0x1080], eax
xor eax, eax
mov dword [ecx + 0xdc], 7
mov dword [ecx + 0xd8], edx
mov word [ecx + 0xc8], ax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x1054], eax
lea eax, [ebp - 0x1060]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x105c], xmm0
call dword [sym.imp.iImportLib.dll_int___cdecl_elex::func::GetProgramVersion_unsigned_long_int__const_]
mov edx, dword [ebp - 0x1058]
add esp, 4
lea ecx, [ebp - 0x1098]
call fcn.10003b40
mov edi, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x105c]
lea ecx, [ebp - 0x1114]
call fcn.10003b40
mov esi, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1060]
lea ecx, [ebp - 0x10e4]
call fcn.10003b40
mov byte [ebp - 4], 0xd
push 0x100315e4
mov edx, eax
lea ecx, [ebp - 0x10cc]
call fcn.100036b0
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x10fc]
mov byte [ebp - 4], 0xe
call fcn.10003700
add esp, 4
push 0x100315e4
mov edx, eax
lea ecx, [ebp - 0x112c]
mov byte [ebp - 4], 0xf
call fcn.100036b0
add esp, 4
push edi
mov edx, eax
lea ecx, [ebp - 0x10b4]
mov byte [ebp - 4], 0x10
call fcn.10003700
add esp, 4
push 0xffffffffffffffff
push 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1064]
push eax
call fcn.10003bd0
cmp dword [ebp - 0x10a0], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10002f65
push dword [ebp - 0x10b4]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1118], 8
mov dword [ebp - 0x10a0], 7
mov dword [ebp - 0x10a4], 0
mov word [ebp - 0x10b4], ax
jb 0x10002f96
push dword [ebp - 0x112c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x10e8], 8
mov dword [ebp - 0x1118], 7
mov dword [ebp - 0x111c], 0
mov word [ebp - 0x112c], ax
jb 0x10002fc7
push dword [ebp - 0x10fc]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x10b8], 8
mov dword [ebp - 0x10e8], 7
mov dword [ebp - 0x10ec], 0
mov word [ebp - 0x10fc], ax
jb 0x10002ff8
push dword [ebp - 0x10cc]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x10d0], 8
mov dword [ebp - 0x10b8], 7
mov dword [ebp - 0x10bc], 0
mov word [ebp - 0x10cc], ax
jb 0x10003029
push dword [ebp - 0x10e4]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x1100], 8
mov dword [ebp - 0x10d0], 7
mov dword [ebp - 0x10d4], 0
mov word [ebp - 0x10e4], ax
jb 0x1000305a
push dword [ebp - 0x1114]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1084], 8
mov dword [ebp - 0x1100], 7
mov dword [ebp - 0x1104], 0
mov word [ebp - 0x1114], ax
jb 0x1000308f
push dword [ebp - 0x1098]
call edi
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
mov eax, dword [0x1004a348]
test al, 1
jne 0x100030b6
or eax, 1
push 0x1002f500
mov dword [0x1004a348], eax
call fcn.10029157
add esp, 4
push esi
lea eax, [ebp - 0x1098]
push eax
call fcn.1001f0d0
mov esi, dword [ebp - 0x1064]
mov ecx, eax
add esi, 0x18
mov dword [ebp - 0x1068], ecx
cmp esi, ecx
je 0x10003106
cmp dword [esi + 0x14], 8
jb 0x100030eb
push dword [esi]
call edi
mov ecx, dword [ebp - 0x1068]
add esp, 4
xor eax, eax
push ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.10003aa0
cmp dword [ebp - 0x1084], 8
jb 0x1000311a
push dword [ebp - 0x1098]
call edi
add esp, 4
lea eax, [ebp - 0x1098]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::func::GetPtid_void_]
mov esi, dword [ebp - 0x106c]
add esp, 4
mov dword [ebp - 0x1068], eax
cmp esi, eax
je 0x10003168
cmp dword [esi + 0x14], 8
jb 0x1000314d
push dword [esi]
call edi
mov eax, dword [ebp - 0x1068]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
push eax
mov ecx, esi
call fcn.10003aa0
cmp dword [ebp - 0x1084], 8
jb 0x1000317c
push dword [ebp - 0x1098]
call edi
add esp, 4
lea eax, [ebp - 0x1098]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::func::GetChannel_void_]
add esp, 4
mov dword [ebp - 0x1068], eax
cmp ebx, eax
je 0x100031c4
cmp dword [ebx + 0x14], 8
jb 0x100031a9
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1068]
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], cx
push eax
mov ecx, ebx
call fcn.10003aa0
cmp dword [ebp - 0x1084], 8
jb 0x100031d8
push dword [ebp - 0x1098]
call edi
add esp, 4
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x104e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1050]
push 0
push 0
push 0x208
push eax
call dword [sym.imp.iImportLib.dll_int___cdecl_elex::func::GetUserGuid_wchar_t___unsigned_long_int__int__int__]
add esp, 0x10
cmp word [ebp - 0x1050], 0
jne 0x1000321d
xor ecx, ecx
jmp 0x10003235
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003226
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1074]
lea eax, [ebp - 0x1050]
push eax
call fcn.10001320
call dword [sym.imp.iImportLib.dll_enum_elex::func::_PROMOTE_VERSION___cdecl_elex::func::GetPromoteVersion_void_]
mov ecx, dword [ebp - 0x1064]
lea ecx, [ecx + 0x78]
dec eax
je 0x10003272
dec eax
je 0x10003269
push 5
dec eax
jne 0x10003274
push str.yacup
jmp 0x10003279
push 6
push str.yacnvd
jmp 0x10003279
push 5
push 0x100315e8
call fcn.10001320
cmp dword [ebp + 0x18], 0
jne 0x1000341b
cmp dword [ebp + 0x30], 0
jne 0x1000341b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COProductUtil____thiscall_elex::CAppMgr::GetProductUtil_void_]
cmp dword [eax + 0x2c], 8
lea esi, [eax + 0x18]
jb 0x100032c9
mov esi, dword [esi]
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COPathManager____thiscall_elex::CAppMgr::GetPathMgr_void_]
push esi
sub esp, 8
lea eax, [ebp - 0xc40]
push eax
call fcn.1001bd90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc40]
push str.preference.ini
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0xa38]
push eax
push 0x103
lea eax, [ebp - 0x218]
push eax
push 0x10031834
push str.country
push 0x100311d4
call esi
lea eax, [ebp - 0xa38]
push eax
push 0x103
lea eax, [ebp - 0x420]
push eax
push 0x10031834
push 0x10031620
push 0x100311d4
call esi
cmp word [ebp - 0x218], 0
jne 0x100033b6
xor ecx, ecx
jmp 0x100033cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100033c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp + 8]
call fcn.10001320
cmp word [ebp - 0x420], 0
jne 0x100033ed
xor ecx, ecx
jmp 0x10003405
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100033f6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp + 0x20]
call fcn.10001320
mov esi, dword [ebp - 0x106c]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
mov ecx, dword [ebp - 0x1064]
add esp, 0xc
cmp dword [ecx + 0x8c], 8
lea eax, [ecx + 0x78]
jb 0x10003455
mov edx, dword [eax]
mov dword [ebp - 0x106c], edx
jmp 0x1000345b
mov dword [ebp - 0x106c], eax
cmp dword [ecx + 0x74], 8
lea eax, [ecx + 0x60]
jb 0x10003466
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x1078], eax
jb 0x1000347c
mov eax, dword [ebx]
mov dword [ebp - 0x107c], eax
jmp 0x10003482
mov dword [ebp - 0x107c], ebx
cmp dword [esi + 0x14], 8
jb 0x10003492
mov eax, dword [esi]
mov dword [ebp - 0x1068], eax
jmp 0x10003498
mov dword [ebp - 0x1068], esi
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
jb 0x100034ae
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x100034b6
mov ecx, dword [ecx]
push dword [ebp - 0x106c]
push dword [ebp - 0x1078]
push dword [ebp - 0x107c]
push dword [ebp - 0x1068]
push edx
push eax
push ecx
lea eax, [ebp - 0x830]
push str.http:__api.yac.mx_Select_returnHeight_version_slang_snation_sptid_schannel_sguid_spid_s
push eax
call fcn.10003760
add esp, 0x24
cmp word [ebp - 0x830], 0
jne 0x100034f3
xor ecx, ecx
jmp 0x1000350f
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003500
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1070]
lea eax, [ebp - 0x830]
push eax
call fcn.10001320
mov edx, dword [ebp - 0x1064]
xor eax, eax
cmp dword [edx + 0x8c], 8
lea ecx, [edx + 0x78]
mov word [ebp - 0x830], ax
jb 0x1000353f
mov ecx, dword [ecx]
cmp dword [edx + 0x74], 8
jb 0x1000354e
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x1074], eax
cmp dword [ebx + 0x14], 8
jb 0x10003556
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 8
jb 0x1000355e
mov esi, dword [esi]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [edx + 0x2c], 8
mov dword [ebp - 0x1070], eax
lea eax, [edx + 0x18]
jb 0x1000357a
mov eax, dword [eax]
cmp dword [edx + 0x14], 8
jb 0x10003582
mov edx, dword [edx]
push ecx
push dword [ebp - 0x1074]
push ebx
push esi
push dword [ebp - 0x1070]
push eax
push edx
lea eax, [ebp - 0x830]
push str.http:__api.yac.mx_Select_skipUrl_version_slang_snation_sptid_schannel_sguid_spid_s
push eax
call fcn.10003760
add esp, 0x24
cmp word [ebp - 0x830], 0
jne 0x100035b5
xor ecx, ecx
jmp 0x100035cf
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100035c0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x109c]
lea eax, [ebp - 0x830]
push eax
call fcn.10001320
mov esi, dword [ebp - 0x1080]
push 0x20
push str.http:__api.yac.mx_Client_weather
mov ecx, esi
call fcn.10001320
cmp dword [ebp + 0x18], 0
je 0x1000363c
cmp dword [ebp + 0x30], 0
je 0x1000363c
push 9
push str._country_
mov ecx, esi
call fcn.10003930
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10003bd0
push 6
push str._city_
mov ecx, esi
call fcn.10003930
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
push eax
mov ecx, esi
call fcn.10003bd0
push 9
push str._version
mov ecx, esi
call fcn.10003930
mov ebx, dword [ebp - 0x1064]
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.10003bd0
cmp dword [ebp + 0x1c], 8
jb 0x1000366a
push dword [ebp + 8]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x1000368c
push dword [ebp + 0x20]
call edi
add esp, 4
mov eax, ebx
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.10029016
mov esp, ebp
pop ebp
ret 0x30