Function at 0x4107aa
Capabilities:
Get geographical location

Disassembly:
push 0x180
mov eax, 0x453235
call fcn.0043c810
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.kernel32.dll_lstrcpyA]
mov dword [ebp - 0x150], eax
push 0x45e548
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x148], bl
lea edi, [ebp - 0x147]
push ecx
mov dword [ebp - 0x154], ecx
stosw word es:[edi], ax
mov dword [ebp - 0x14c], 3
call esi
push dword [ebp - 0x150]
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x410aff
push dword [ebp - 0x150]
call fcn.00415501
pop ecx
test eax, eax
je 0x410aff
lea eax, [ebp - 0x14c]
push eax
push ebx
lea edx, [ebp - 0x148]
mov ecx, str.Country
call fcn.0040c7c4
pop ecx
pop ecx
test eax, eax
je 0x41084f
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x154]
call esi
xor eax, eax
inc eax
jmp 0x410b01
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 4], ebx
call fcn.00405b78
push dword [ebp - 0x150]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00405b78
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 2
call fcn.0041deb3
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.00440d88
push esi
lea ecx, [ebp - 0x180]
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 2
call fcn.0041df1d
lea edi, [ebp - 0x144]
call fcn.0041defb
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.00405e00
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.00405e00
push 0x45d48e
lea ecx, [ebp - 0xa4]
call fcn.00405b78
push str.COUNTRY
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00405b78
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.0041edb1
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00405e00
push ebx
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
call fcn.00405e00
cmp dword [ebp - 0x24], 2
je 0x4109dd
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.00440d88
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xd
call fcn.00440d88
add esp, 0xc
push 0x45f258
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xe
call fcn.00440d88
add esp, 0xc
lea esi, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
call fcn.00440d88
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
push ecx
lea esi, [ebp - 0x160]
mov ecx, eax
mov dword [ebp - 0x160], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_wrappers_common_UpdateUtils.cpp
mov dword [ebp - 0x15c], str.GetCountry
mov dword [ebp - 0x158], 0x44
call fcn.00410c0b
pop ecx
push 0x466b50
lea eax, [ebp - 0xcc]
push eax
call fcn.00440d88
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14c], esi
jae 0x4109ef
lea eax, [ebp - 0x34]
push 3
push eax
push dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_lstrcpynA]
push dword [ebp - 0x154]
push str.Country
push ebx
call fcn.0040c984
add esp, 0xc
cmp eax, ebx
je 0x410a78
cmp dword [0x475304], esi
jg 0x410a78
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00410c44
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00440d88
add esp, 0xc
push str.GetCountry
push 0x4a
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_wrappers_common_UpdateUtils.cpp
push esi
mov edx, eax
mov ecx, 0x475304
mov byte [ebp - 4], 0x12
call fcn.0041299a
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00405e00
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00405e00
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00405e00
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], bl
call fcn.00407d71
mov eax, dword [ebp - 0x14c]
jmp 0x410b01
xor eax, eax
call fcn.0043c86c
ret