Function at 0x419830
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e48fe
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x50e5d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xe0]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0xe0]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xe0]
add ecx, 0x60
call dword [sym.imp.ui_d.dll_public:_struct_tagRECT____thiscall_DuiLib::CPaintManagerUI::GetCaptionRect_void_]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
jl 0x419bc2
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x24], ecx
jge 0x419bc2
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x18]
jl 0x419bc2
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x419bc2
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0xe0]
add ecx, 0x60
call dword [sym.imp.ui_d.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x419bc2
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
call eax
push eax
lea ecx, [ebp - 0x3c]
call fcn.004018b0
mov dword [ebp - 4], 0
push 0x4f6674
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419b92
push str.OptionUI
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419b92
push 0x4f668c
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419b92
push str.ListUI
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419b92
push str.VerticalLayoutUI
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419b92
push str.TextUI
lea ecx, [ebp - 0x3c]
call fcn.00401600
push eax
call fcn.0042f190
add esp, 8
test eax, eax
jne 0x419b6f
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xdc]
or ecx, 1
mov dword [ebp - 0xdc], ecx
push 0x4f66b8
mov ecx, dword [ebp - 0xe8]
call dword [sym.imp.ui_d.dll_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const]
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419ac4
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xdc]
or edx, 2
mov dword [ebp - 0xdc], edx
push 0x4f66c0
mov ecx, dword [ebp - 0xf0]
call dword [sym.imp.ui_d.dll_public:_char_const____thiscall_DuiLib::CDuiString::operator_char_const__void_const]
push eax
call fcn.0042f190
add esp, 8
test eax, eax
je 0x419ac4
mov dword [ebp - 0xf4], 0
jmp 0x419ace
mov dword [ebp - 0xf4], 1
mov al, byte [ebp - 0xf4]
mov byte [ebp - 0x3d], al
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xdc]
and ecx, 2
je 0x419afc
and dword [ebp - 0xdc], 0xfffffffd
lea ecx, [ebp - 0xc8]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xdc]
and edx, 1
je 0x419b21
and dword [ebp - 0xdc], 0xfffffffe
lea ecx, [ebp - 0x84]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x419b4c
mov dword [ebp - 0xcc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426070
mov eax, dword [ebp - 0xcc]
jmp 0x419bc7
mov dword [ebp - 0xd0], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426070
mov eax, dword [ebp - 0xd0]
jmp 0x419bc7
mov dword [ebp - 0xd4], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426070
mov eax, dword [ebp - 0xd4]
jmp 0x419bc7
mov dword [ebp - 0xd8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00426070
mov eax, dword [ebp - 0xd8]
jmp 0x419bc7
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10