Function at 0x413c3a
Capabilities:
Get geographical location

Disassembly:
push 0x194
mov eax, 0x47055d
call fcn.00452633
xor eax, eax
mov esi, 0x47b250
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 0x413fc9
push ebx
call fcn.00426781
pop ecx
test eax, eax
je 0x413fc9
lea eax, [ebp - 0x164]
push eax
push 0
lea edx, [ebp - 0x160]
mov ecx, str.Country
call fcn.0040efee
pop ecx
pop ecx
test eax, eax
je 0x413d12
push esi
lea ecx, [ebp - 0x88]
call fcn.00402450
and dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
push ecx
mov esi, eax
call fcn.00413127
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.0040320c
inc bl
je 0x413d15
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x168]
call edi
mov eax, esi
jmp 0x413fcb
xor esi, esi
inc esi
and dword [ebp - 0x164], 0
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
call fcn.00402450
push dword [ebp - 0x178]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00402450
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 3
call fcn.00427469
mov edi, eax
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.004030fd
push esi
lea eax, [ebp - 0x194]
push eax
push edi
mov byte [edi + 0x1c], 1
mov dword [edi + 0x20], 2
call fcn.0042824a
lea edi, [ebp - 0x15c]
call fcn.004274ca
xor ebx, ebx
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0040320c
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 8
call fcn.0040320c
push 0x476f2c
lea ecx, [ebp - 0x88]
call fcn.00402450
push str.COUNTRY
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 9
call fcn.00402450
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.004297dd
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040320c
push ebx
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
call fcn.0040320c
cmp dword [ebp - 0x24], 2
je 0x413ea6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.0042328f
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xe
call fcn.00408a07
add esp, 0xc
push 0x47b5ec
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040e658
add esp, 0xc
lea esi, [ebp - 0x1a0]
mov byte [ebp - 4], 0x10
call fcn.0040102d
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.0041432d
pop ecx
push 0x48766c
lea eax, [ebp - 0xcc]
push eax
call fcn.00452164
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x164], esi
jae 0x413eb8
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.0040f152
add esp, 0xc
cmp eax, ebx
je 0x413f41
cmp dword [0x49c100], esi
jg 0x413f41
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.00408a34
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x12
call fcn.0040e658
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, 0x49c100
mov byte [ebp - 4], 0x13
call fcn.00421620
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040320c
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0040320c
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040320c
lea eax, [ebp - 0x194]
push eax
mov byte [ebp - 4], 1
call fcn.00413fd1
mov eax, dword [ebp - 0x164]
jmp 0x413fcb
xor eax, eax
call fcn.0045268f
ret