Function at 0x412540
Capabilities:
Get geographical location

Disassembly:
push 0x194
mov eax, 0x45b31b
call fcn.00441f50
xor eax, eax
mov esi, 0x464630
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 0x4128ce
push ebx
call fcn.00417035
pop ecx
test eax, eax
je 0x4128ce
lea eax, [ebp - 0x164]
push eax
push 0
lea edx, [ebp - 0x160]
mov ecx, str.Country
call fcn.0040f8dc
pop ecx
pop ecx
test eax, eax
je 0x412618
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.0040f07e
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 0x41261b
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x168]
call edi
mov eax, esi
jmp 0x4128d0
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.0041ed6f
mov edi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.00426cfe
lea eax, [ebp - 0x194]
push eax
push edi
mov byte [edi + 0x1c], 1
mov dword [edi + 0x20], 2
call fcn.00426cfe
lea edi, [ebp - 0x15c]
call fcn.0041edd0
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 0x4634c6
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.00420b3f
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 0x4127ab
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.00426cfe
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xe
call fcn.00426cfe
add esp, 0xc
push 0x4651f8
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xf
call fcn.00426cfe
add esp, 0xc
lea esi, [ebp - 0x1a0]
mov byte [ebp - 4], 0x10
call fcn.00426cfe
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x11
push ecx
lea esi, [ebp - 0x174]
mov ecx, eax
mov dword [ebp - 0x174], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_wrappers_common_UpdateUtils.cpp
mov dword [ebp - 0x170], str.GetCountry
mov dword [ebp - 0x16c], 0x45
call fcn.00412a48
pop ecx
push 0x46d75c
lea eax, [ebp - 0xcc]
push eax
call fcn.00426cfe
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x164], esi
jae 0x4127bd
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.0040fa9c
add esp, 0xc
cmp eax, ebx
je 0x412846
cmp dword [0x47d500], esi
jg 0x412846
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00412a81
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00426cfe
add esp, 0xc
push str.GetCountry
push 0x4b
push str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_wrappers_common_UpdateUtils.cpp
push esi
mov edx, eax
mov ecx, 0x47d500
mov byte [ebp - 4], 0x13
call fcn.004147a0
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.004128d6
mov eax, dword [ebp - 0x164]
jmp 0x4128d0
xor eax, eax
call fcn.00441fac
ret