Function at 0x413b72
Capabilities:
Get geographical location

Disassembly:
push 0x194
mov eax, 0x47056f
call fcn.00452603
xor eax, eax
mov esi, 0x47b254
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 0x413f01
push ebx
call fcn.0042668a
pop ecx
test eax, eax
je 0x413f01
lea eax, [ebp - 0x164]
push eax
push 0
lea edx, [ebp - 0x160]
mov ecx, str.Country
call fcn.0040ef60
pop ecx
pop ecx
test eax, eax
je 0x413c4a
push esi
lea ecx, [ebp - 0x88]
call fcn.0040246d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
push ecx
mov esi, eax
call fcn.0041305f
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.0040321f
inc bl
je 0x413c4d
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x168]
call edi
mov eax, esi
jmp 0x413f03
xor esi, esi
inc esi
and dword [ebp - 0x164], 0
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
call fcn.0040246d
push dword [ebp - 0x178]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040246d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 3
call fcn.00427372
mov edi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0042ef2e
push esi
lea eax, [ebp - 0x194]
push eax
push edi
mov byte [edi + 0x1c], 1
mov dword [edi + 0x20], 2
call fcn.0042ef2e
lea edi, [ebp - 0x15c]
call fcn.004273d3
xor ebx, ebx
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0040321f
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.0040321f
push 0x476f1c
lea ecx, [ebp - 0x88]
call fcn.0040246d
push str.COUNTRY
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.0040246d
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.004296e3
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040321f
push ebx
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
call fcn.0040321f
cmp dword [ebp - 0x24], 2
je 0x413dde
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.0042ef2e
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xe
call fcn.0042ef2e
add esp, 0xc
push 0x47b5f0
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042ef2e
add esp, 0xc
lea esi, [ebp - 0x1a0]
mov byte [ebp - 4], 0x10
call fcn.0042ef2e
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.00414265
pop ecx
push 0x48772c
lea eax, [ebp - 0xcc]
push eax
call fcn.0042ef2e
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x164], esi
jae 0x413df0
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.0040f0c4
add esp, 0xc
cmp eax, ebx
je 0x413e79
cmp dword [0x49c100], esi
jg 0x413e79
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00408976
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x12
call fcn.0042ef2e
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, 0x49c100
mov byte [ebp - 4], 0x13
call fcn.00421538
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040321f
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0040321f
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040321f
lea eax, [ebp - 0x194]
push eax
mov byte [ebp - 4], 1
call fcn.00413f09
mov eax, dword [ebp - 0x164]
jmp 0x413f03
xor eax, eax
call fcn.0045265f
ret