Function at 0x410788
Capabilities:
Get geographical location

Disassembly:
push 0x180
mov eax, 0x454ce4
call fcn.0043df4e
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x150], eax
push 0x45f5f0
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 0x410add
push dword [ebp - 0x150]
call fcn.0041551e
pop ecx
test eax, eax
je 0x410add
lea eax, [ebp - 0x14c]
push eax
push ebx
lea edx, [ebp - 0x148]
mov ecx, str.Country
call fcn.0040c7c5
pop ecx
pop ecx
test eax, eax
je 0x41082d
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x154]
call esi
xor eax, eax
inc eax
jmp 0x410adf
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 4], ebx
call fcn.00405ba6
push dword [ebp - 0x150]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00405ba6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 2
call fcn.0041f07e
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.00405d1f
push esi
lea ecx, [ebp - 0x180]
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 2
call fcn.0041f0e8
lea edi, [ebp - 0x144]
call fcn.0041f0c6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.00405db8
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.00405db8
push 0x45e50e
lea ecx, [ebp - 0xa4]
call fcn.00405ba6
push str.COUNTRY
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00405ba6
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.0041ff7c
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00405db8
push ebx
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
call fcn.00405db8
cmp dword [ebp - 0x24], 2
je 0x4109bb
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.004146f1
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xd
call fcn.00406083
add esp, 0xc
push 0x460308
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xe
call fcn.004060b0
add esp, 0xc
lea esi, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
call fcn.0040c516
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_jdk8u102_6817.nc_install_src_windows_wrappers_common_UpdateUtils.cpp
mov dword [ebp - 0x15c], str.GetCountry
mov dword [ebp - 0x158], 0x46
call fcn.00410be9
pop ecx
push 0x467ed0
lea eax, [ebp - 0xcc]
push eax
call fcn.0043da7f
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14c], esi
jae 0x4109cd
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.0040c985
add esp, 0xc
cmp eax, ebx
je 0x410a56
cmp dword [0x4774c0], esi
jg 0x410a56
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00410c22
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x11
call fcn.004060b0
add esp, 0xc
push str.GetCountry
push 0x4c
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_wrappers_common_UpdateUtils.cpp
push esi
mov edx, eax
mov ecx, 0x4774c0
mov byte [ebp - 4], 0x12
call fcn.00412978
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00405db8
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00405db8
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00405db8
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], bl
call fcn.00407d7d
mov eax, dword [ebp - 0x14c]
jmp 0x410adf
xor eax, eax
call fcn.0043dfaa
ret