Function at 0x414c63
Capabilities:
Get geographical location

Disassembly:
push 0x180
mov eax, 0x46d007
call fcn.004516f3
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x150], eax
push 0x479ac8
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 0x414fba
push dword [ebp - 0x150]
call fcn.004295d7
pop ecx
test eax, eax
je 0x414fba
lea eax, [ebp - 0x14c]
push eax
push ebx
lea edx, [ebp - 0x148]
mov ecx, str.Country
call fcn.004102c8
pop ecx
pop ecx
test eax, eax
je 0x414d08
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x154]
call esi
xor eax, eax
inc eax
jmp 0x414fbc
push str.jucheck
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 4], ebx
call fcn.00402573
push dword [ebp - 0x150]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00402573
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 2
call fcn.0042a21c
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.00403244
push 1
push esi
lea ecx, [ebp - 0x180]
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], 2
call fcn.0042a2a9
lea edi, [ebp - 0x144]
call fcn.0042a264
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.00403353
push ebx
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.00403353
push 0x475e44
lea ecx, [ebp - 0xa4]
call fcn.00402573
push str.COUNTRY
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00402573
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.0042b146
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.00403353
push ebx
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xc
call fcn.00403353
cmp dword [ebp - 0x24], 2
je 0x414e98
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x6c]
call fcn.00426104
pop ecx
push eax
lea eax, [ebp - 0x50]
push str.Invalid_country_value_:_
push eax
mov byte [ebp - 4], 0xd
call fcn.004089c9
add esp, 0xc
push 0x47ab8c
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040f4e7
add esp, 0xc
lea esi, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
call fcn.0040102d
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x10
push ecx
lea esi, [ebp - 0x160]
mov ecx, eax
mov dword [ebp - 0x160], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_wrappers_common_UpdateUtils.cpp
mov dword [ebp - 0x15c], str.GetCountry
mov dword [ebp - 0x158], 0x44
call fcn.004151b9
pop ecx
push 0x4863f4
lea eax, [ebp - 0xcc]
push eax
call fcn.00451224
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14c], esi
jae 0x414eaa
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.00410602
add esp, 0xc
cmp eax, ebx
je 0x414f33
cmp dword [0x49a024], esi
jg 0x414f33
lea eax, [ebp - 0x50]
push str.Save_Country_Code
push eax
lea edi, [ebp - 0x34]
call fcn.004089f6
pop ecx
pop ecx
push str._after_GetCountry__
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040f4e7
add esp, 0xc
push str.GetCountry
push 0x4a
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_wrappers_common_UpdateUtils.cpp
push esi
mov edx, eax
mov ecx, 0x49a024
mov byte [ebp - 4], 0x12
call fcn.0042432e
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403353
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00403353
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00403353
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], bl
call fcn.0040a2b7
mov eax, dword [ebp - 0x14c]
jmp 0x414fbc
xor eax, eax
call fcn.0045174f
ret