Function at 0x44f9c1
Capabilities:
Get geographical location

Disassembly:
push 0x478
mov eax, 0x4e21b9
call fcn.004b698d
mov eax, ecx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x414], eax
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x450], ebx
mov ecx, ebx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ebx
push ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0042889e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x40c]
call fcn.0042ddba
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 2
call fcn.0042d757
test al, al
jne 0x44fbe9
inc ebx
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], bl
call fcn.0042de4b
push 0x53a
push str.GetDeviceRegion
push str._s:_d:_GetCountryDialingCode_failed
push ebx
push 0
call fcn.00438d22
add esp, 0x14
push 0x64a618
lea ecx, [ebp - 0xd0]
call fcn.00426fde
push 0x66e030
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1d
call fcn.004270d4
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x58]
cmovae edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
push eax
call fcn.00427fc4
push edi
lea ecx, [ebp - 0x44c]
push dword [eax]
push esi
call fcn.00452155
add esp, 0xc
lea ecx, [ebp - 0x2b0]
push 0x64a620
push 0x64a628
call fcn.004521aa
push 0x64a618
push 0x64a630
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1f
call fcn.004521aa
push 0x64a638
push 0x64a640
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x20
call fcn.004521aa
mov eax, 0x64a648
mov byte [ebp - 4], 0x21
push eax
push eax
lea ecx, [ebp - 0x220]
call fcn.004521aa
push 0x64a650
push 0x64a658
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x22
call fcn.004521aa
mov eax, 0x64a660
mov byte [ebp - 4], 0x23
push eax
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004521aa
push 0x64a668
push 0x64a670
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x24
call fcn.004521aa
push 0x64a678
push 0x64a680
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x25
call fcn.004521aa
mov byte [ebp - 4], 0x26
and dword [ebp - 0x41c], 0
and dword [ebp - 0x418], 0
call fcn.0043c612
mov esi, eax
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 0x27
lea edi, [ebp - 0x2b0]
push edi
lea ecx, [ebp - 0x41c]
call fcn.00452659
push eax
add eax, 0x10
lea ecx, [ebp - 0x41c]
push eax
push esi
lea eax, [ebp - 0x43c]
push eax
call fcn.004522bd
add edi, 0x30
lea eax, [ebp - 0x130]
cmp edi, eax
je 0x4500c0
mov esi, dword [ebp - 0x41c]
jmp 0x44fbac
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00427041
xor ebx, ebx
lea ecx, [ebp - 0x40c]
inc ebx
mov byte [ebp - 4], bl
call fcn.0042de4b
cmp dword [ebp - 0x30], 0
jbe 0x44fa53
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x430]
and dword [ebp - 0x430], 0
mov ecx, str.COUNTRY_DIALING_CODES.JSON
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045026f
pop ecx
pop ecx
test al, al
je 0x4500ac
push 0
lea ecx, [ebp - 0x46c]
call fcn.004136e8
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 3
call fcn.00411bc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x118]
push dword [ebp - 0x430]
push dword [ebp - 0x414]
call fcn.00416876
push ecx
lea eax, [ebp - 0x46c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x324]
call fcn.00411c29
test al, al
je 0x450066
xor eax, eax
lea ecx, [ebp - 0xb8]
push eax
push eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
call fcn.0042889e
and dword [ebp - 0x448], 0
and dword [ebp - 0x444], 0
and dword [ebp - 0x440], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jbe 0x44fd0b
dec eax
lea ecx, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.0044a9cc
push eax
lea ecx, [ebp - 0xb8]
call fcn.004287de
push 0
push ebx
lea ecx, [ebp - 0x88]
call fcn.0042889e
movsx ecx, byte [ebp - 0x464]
mov esi, dword [ebp - 0x46c]
lea eax, [ecx - 6]
cmp eax, ebx
ja 0x44fd2b
test esi, esi
je 0x44fd2b
mov eax, dword [esi]
xor dl, dl
mov eax, dword [eax]
jmp 0x44fd2f
xor eax, eax
mov dl, bl
add ecx, 0xfffffffa
mov byte [ebp - 0x434], dl
mov dword [ebp - 0x438], eax
cmp ecx, ebx
ja 0x44fd4c
test esi, esi
je 0x44fd4c
mov esi, dword [esi]
xor cl, cl
jmp 0x44fd50
xor esi, esi
mov cl, bl
mov byte [ebp - 0x40d], cl
test dl, dl
jne 0x44fd5f
cmp eax, esi
sete cl
test cl, cl
jne 0x450013
lea edi, [eax + 0x18]
push 0x4f39fd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x414], edi
call fcn.004137ce
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push str.dialing_code
lea eax, [ebp - 0x484]
mov ecx, edi
push eax
call fcn.0041492d
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.00413b10
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.00426f1a
push 0
push ebx
lea ecx, [ebp - 0x130]
call fcn.00418d87
lea ecx, [ebp - 0x484]
call fcn.00413989
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00413989
cmp dword [ebp - 0x90], 0
sete al
test al, al
jne 0x44fee3
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.0043cc96
test al, al
je 0x44fee3
push 0x4f39fd
lea ecx, [ebp - 0x88]
call fcn.004137ce
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
push str.country_code
lea eax, [ebp - 0x100]
mov ecx, edi
push eax
call fcn.0041492d
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.00413b10
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.00426f1a
push 0
push ebx
lea ecx, [ebp - 0xe8]
call fcn.00418d87
lea ecx, [ebp - 0x100]
call fcn.00413989
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x15
call fcn.00413989
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x44fed4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x430]
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
call fcn.00427fc4
push ebx
lea ecx, [ebp - 0x454]
push dword [eax]
push edi
call fcn.00452155
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x42c]
push eax
call fcn.00441c4b
mov edi, dword [ebp - 0x414]
xor ebx, ebx
inc ebx
push 0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.0042889e
cmp dword [ebp - 0x90], 0
sete al
test al, al
jne 0x44ffdf
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xa0]
call fcn.0043cc96
test al, al
je 0x44ffdf
push 0x4f39fd
lea ecx, [ebp - 0x88]
call fcn.004137ce
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x16
push eax
push str.country_code
lea eax, [ebp - 0xe8]
mov ecx, edi
push eax
call fcn.0041492d
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call fcn.00413b10
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
call fcn.00426f1a
push 0
push ebx
lea ecx, [ebp - 0x100]
call fcn.00418d87
lea ecx, [ebp - 0xe8]
call fcn.00413989
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1c
call fcn.00413989
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x44ffd4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x44c]
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
call fcn.00427fc4
push ebx
lea ecx, [ebp - 0x43c]
push dword [eax]
push edi
call fcn.00452155
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x448]
push eax
call fcn.00441c4b
xor ebx, ebx
inc ebx
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042889e
push 0
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.0042889e
lea ecx, [ebp - 0x438]
call fcn.00418a0b
mov dl, byte [ebp - 0x434]
mov eax, dword [ebp - 0x438]
mov cl, byte [ebp - 0x40d]
jmp 0x44fd56
mov eax, dword [ebp - 0x42c]
cmp eax, dword [ebp - 0x428]
sete al
test al, al
je 0x45004b
mov eax, dword [ebp - 0x448]
cmp eax, dword [ebp - 0x444]
sete al
test al, al
jne 0x45004b
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042563d
lea ecx, [ebp - 0x448]
call fcn.00425dae
push 0
push ebx
lea ecx, [ebp - 0xb8]
call fcn.0042889e
jmp 0x450080
push 0x530
push str.GetDeviceRegion
push str._s:_d:_Failed_to_parse_country_dialing_codes_JSON
push ebx
push 0
call fcn.00438d22
add esp, 0x14
push 0
push ebx
lea ecx, [ebp - 0x118]
call fcn.00418d87
lea ecx, [ebp - 0x324]
call fcn.00420e0d
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], bl
call fcn.00413989
jmp 0x44fa6d
push 0x535
push str.GetDeviceRegion
push str._s:_d:_Failed_to_load_country_dialing_codes_JSON_resource
jmp 0x44fa62
push fcn.00431409
push 8
push 0x30
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x29
push eax
call fcn.004b62a4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x41c]
call fcn.0045132c
push eax
lea ecx, [ebp - 0x70]
call fcn.004270d4
mov byte [ebp - 4], 0x2a
lea edx, [ebp - 0xd0]
mov esi, dword [ebp - 0x428]
lea ecx, [ebp - 0x414]
mov edi, dword [ebp - 0x42c]
push esi
push edi
call fcn.00441ebe
pop ecx
pop ecx
cmp edi, esi
je 0x4501b2
cmp dword [ebp - 0x414], esi
jne 0x4501b2
push esi
push edi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x414]
call fcn.00441ebe
cmp dword [ebp - 0x60], 0
pop ecx
pop ecx
je 0x450188
mov esi, dword [ebp - 0x414]
cmp esi, dword [ebp - 0x428]
je 0x450188
cmp dword [esi + 0x14], 8
jb 0x45015a
mov eax, dword [esi]
jmp 0x45015c
mov eax, esi
push eax
push 0x56f
push str.GetDeviceRegion
push str._s:_d:_uiLocaleCountry_found_in_dialingCodeCountries:__s
push ebx
push 0
call fcn.00438d22
add esp, 0x18
push esi
mov ecx, dword [ebp - 0x420]
call fcn.004270d4
jmp 0x450219
cmp dword [edi + 0x14], 8
jb 0x450192
mov eax, dword [edi]
jmp 0x450194
mov eax, edi
push eax
push 0x575
push str.GetDeviceRegion
push str._s:_d:_using_first_dialingCodeCountries:__s
push ebx
push 0
call fcn.00438d22
add esp, 0x18
push edi
jmp 0x450178
cmp dword [ebp - 0x60], 0
je 0x4501ef
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
push 0x57c
push str.GetDeviceRegion
push str._s:_d:_using_uiLocaleCountry:__s
push ebx
push 0
call fcn.00438d22
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x70]
add esp, 0x18
push eax
call fcn.00427fe2
jmp 0x450219
push 0x581
push str.GetDeviceRegion
push str._s:_d:_uiLocaleCountry_and_dialingCodeCountries_are_empty
push ebx
push 0
call fcn.00438d22
mov ecx, dword [ebp - 0x420]
add esp, 0x14
push 0x643c14
call fcn.00426fde
push 0
push ebx
lea ecx, [ebp - 0x70]
call fcn.0042889e
lea ecx, [ebp - 0x41c]
call fcn.004512a3
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.0042889e
push 0
push ebx
lea ecx, [ebp - 0xd0]
call fcn.0042889e
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0042889e
lea ecx, [ebp - 0x42c]
call fcn.00425dae
mov eax, dword [ebp - 0x420]
call fcn.004b6937
ret