Function at 0x101d914
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x10cbeed
call fcn.01077798
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_4
xor edi, edi
push 8
mov dword [ebp - 4], edi
call sub.MFC42u.DLL_operatornew
cmp eax, edi
pop ecx
je 0x101d94d
mov dword [eax + 4], edi
mov dword [eax], 0x1003ae4
mov dword [ebp - 0x10], eax
jmp 0x101d950
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x80]
shl eax, 2
push 5
pop ecx
cdq
idiv ecx
push 0xc
pop edx
lea ecx, [esi + 0xa4]
cmp eax, edx
mov dword [ecx], eax
jge 0x101d970
mov dword [ecx], edx
push ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xb4], 0x2bc
call fcn.0101c855
mov edi, dword [ebp + 8]
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [edi]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
mov ebx, 0x80
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::GetBuffer
push ebx
push eax
push 0x37
push 0x400
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString_5
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x7c]
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
mov edx, dword [edi]
mov dword [ebp - 0x30], ecx
push 0x25
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ecx
push dword [eax - 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
call dword [edx + 0x70]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
mov dword [ebp + 8], 0x31
push ebx
push dword [ebp - 0x18]
push dword [ebp + 8]
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString_5
mov edx, dword [esi + 0x74]
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
add eax, 0xffffffd0
lea ecx, [eax + 1]
imul eax, edx
imul ecx, edx
mov edx, dword [edi]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x30], ecx
push 0x25
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
push dword [eax - 8]
mov ecx, edi
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x70]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x36
jle 0x101da0a
mov eax, dword [edi]
push 0xd
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0xa4]
push eax
mov dword [eax], 0xc
call fcn.0101c855
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
lea ebx, [esi + 0x104]
mov ecx, ebx
call sub.MFC42u.DLL_COleDateTime::GetDay
mov ecx, ebx
mov dword [esi + 0x90], eax
call sub.MFC42u.DLL_COleDateTime::GetMonth
mov ecx, ebx
mov dword [esi + 0x94], eax
call sub.MFC42u.DLL_COleDateTime::GetDay
push 7
cdq
pop ecx
idiv ecx
xor ebx, ebx
inc ebx
lea ecx, [esi + 0x104]
sub ebx, edx
call sub.MFC42u.DLL_COleDateTime::GetDayOfWeek
add ebx, eax
cmp ebx, 2
jge 0x101daed
add ebx, 7
mov eax, dword [esi + 0x90]
lea eax, [ebx + eax - 2]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
fstp qword [ebp - 0x34]
xor ebx, ebx
push eax
lea ecx, [esi + 0x104]
mov dword [ebp - 0x2c], ebx
call sub.MFC42u.DLL_COleDateTime::operator__1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetDay
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetMonth
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetYear
push eax
lea ecx, [esi + 0x110]
call sub.MFC42u.DLL_COleDateTime::SetDateTime
mov dword [ebp + 8], ebx
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetMonth
cmp dword [esi + 0x94], eax
jne 0x101db8b
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetDay
cmp dword [esi + 0x90], eax
mov ebx, dword [edi]
push 0x12
jne 0x101db8f
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
mov eax, dword [ebp + 8]
push 7
cdq
pop ecx
idiv ecx
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
jmp 0x101db9b
mov ebx, dword [edi]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, edi
push eax
call dword [ebx + 0x38]
cmp dword [ebp + 8], 0x29
jne 0x101dbbd
push 0x79
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::LoadStringW
mov ebx, dword [edi]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, edi
call dword [ebx + 0x38]
jmp 0x101dbd7
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_COleDateTime::GetDay
push eax
lea eax, [ebp - 0x14]
push 0x1003bdc
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
mov eax, dword [ebp + 8]
cdq
push 7
pop ecx
idiv ecx
mov ebx, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
push 0
mov dword [ebp - 0x1c], eax
inc eax
imul eax, ebx
imul ebx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 2]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x74]
lea ecx, [edx + 1]
imul edx, dword [esi + 0x74]
imul ecx, eax
mov eax, dword [esi + 0x7c]
dec ecx
dec ecx
lea ebx, [ebx + eax + 2]
mov eax, dword [ebp - 0x18]
inc edx
inc edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov edx, dword [edi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax - 8]
lea ebx, [ebp - 0x38]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x70]
sub esp, 0xc
mov eax, esp
fld1
and dword [eax + 8], 0
fstp qword [eax]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], esp
call fcn.0101ca77
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x2a
jl 0x101db44
mov eax, dword [edi]
push 0xd
mov ecx, edi
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x10]
mov ecx, esi
call sub.MFC42u.DLL_CGdiObject::DeleteObject
test esi, esi
je 0x101dc79
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4