Function at 0x412541
Capabilities:
Get geographical location

Disassembly:
push 0x194
mov eax, 0x45b35a
call fcn.00441f72
xor eax, eax
mov esi, 0x465620
mov byte [ebp - 0x160], 0
lea edi, [ebp - 0x15f]
push esi
mov ebx, edx
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], 3
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4128cf
push ebx
call fcn.00416f80
pop ecx
test eax, eax
je 0x4128cf
lea eax, [ebp - 0x164]
push eax
push 0
lea edx, [ebp - 0x160]
mov ecx, str.Country
call fcn.0040f8c1
pop ecx
pop ecx
test eax, eax
je 0x412619
push esi
lea ecx, [ebp - 0x88]
call fcn.00405b5f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
push ecx
mov esi, eax
call fcn.0040f063
mov bl, al
pop ecx
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x88]
call fcn.00405e43
inc bl
je 0x41261c
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x168]
call edi
mov eax, esi
jmp 0x4128d1
xor esi, esi
inc esi
and dword [ebp - 0x164], 0
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
call fcn.00405b5f
push dword [ebp - 0x178]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00405b5f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 3
call fcn.0041ecdc
mov edi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.00405d34
lea eax, [ebp - 0x194]
push eax
push edi
mov byte [edi + 0x1c], 1
mov dword [edi + 0x20], 2
call fcn.0041fac0
lea edi, [ebp - 0x15c]
call fcn.0041ed3d
xor ebx, ebx
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.00405e43
push 0x4644c6
lea ecx, [ebp - 0x88]
call fcn.00405b5f
push str.COUNTRY
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.00405b5f
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00420aac
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
call fcn.00405e43
cmp dword [ebp - 0x24], 2
je 0x4127ac
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.0041666e
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xe
call fcn.00406098
add esp, 0xc
push 0x4661d4
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xf
call fcn.004060c5
add esp, 0xc
lea esi, [ebp - 0x1a0]
mov byte [ebp - 4], 0x10
call fcn.0040bd9c
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x11
push ecx
lea esi, [ebp - 0x174]
mov ecx, eax
mov dword [ebp - 0x174], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_wrappers_common_UpdateUtils.cpp
mov dword [ebp - 0x170], str.GetCountry
mov dword [ebp - 0x16c], 0x45
call fcn.00412a49
pop ecx
push 0x46e6ec
lea eax, [ebp - 0xcc]
push eax
call fcn.00441aa3
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x164], esi
jae 0x4127be
lea eax, [ebp - 0x34]
push 3
push eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp - 0x168]
push str.Country
push ebx
call fcn.0040fa81
add esp, 0xc
cmp eax, ebx
je 0x412847
cmp dword [0x47e500], esi
jg 0x412847
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00412a82
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x12
call fcn.004060c5
add esp, 0xc
push str.GetCountry
push 0x4b
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_wrappers_common_UpdateUtils.cpp
push esi
mov edx, eax
mov ecx, 0x47e500
mov byte [ebp - 4], 0x13
call fcn.004147a1
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00405e43
lea eax, [ebp - 0x194]
push eax
mov byte [ebp - 4], 1
call fcn.004128d7
mov eax, dword [ebp - 0x164]
jmp 0x4128d1
xor eax, eax
call fcn.00441fce
ret