Function at 0x40cc40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f145
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ae44c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::GetManager]
push eax
push 0x484ea4
lea ecx, [ebp - 0x10]
call dword [0x48256c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
sete bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
je 0x40ccc6
mov esi, 0x409
jmp 0x40cddd
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::GetManager]
push eax
push 0x484ea0
lea ecx, [ebp - 0x10]
call dword [0x48256c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
sete bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
je 0x40cd15
mov esi, 0x407
jmp 0x40cddd
lea eax, [ebp + 0xc]
push 0x484e9c
push eax
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cd34
mov esi, 0x40a
jmp 0x40cddd
lea ecx, [ebp + 0xc]
push 0x484e98
push ecx
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cd53
mov esi, 0x40c
jmp 0x40cddd
lea edx, [ebp + 0xc]
push 0x484e94
push edx
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cd6f
mov esi, 0x410
jmp 0x40cddd
lea eax, [ebp + 0xc]
push 0x484e90
push eax
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cd8b
mov esi, 0x416
jmp 0x40cddd
lea ecx, [ebp + 0xc]
push 0x484e8c
push ecx
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cda7
mov esi, 0x411
jmp 0x40cddd
lea edx, [ebp + 0xc]
push 0x484e88
push edx
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cdc3
mov esi, 0x412
jmp 0x40cddd
lea eax, [ebp + 0xc]
push 0x484e84
push eax
call fcn.0040c1d0
add esp, 8
test al, al
je 0x40cddd
mov esi, 0x804
mov edi, dword [ebp + 8]
push 0x482e5c
mov ecx, edi
call dword [0x4824d0]
mov dword [ebp - 0x14], 1
test si, si
je 0x40ce2b
push 0x32
push 0x32
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
movzx ecx, si
push 0x1001
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x40ce21
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret