Function at 0x436ffe
Capabilities:
Get geographical location

Disassembly:
push 0x64
mov eax, 0x4bffc7
call fcn.00492516
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x38]
push str.in_GeoLookup____url
push eax
call fcn.00470fb0
and dword [ebp - 4], 0
push eax
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.00470660
push str.This_2_character_country_code_overrides_the_geo_lookup_value
lea ecx, [ebp - 0x28]
call fcn.00470680
push str.Override_the_geo_lookup_value
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.00470680
mov edi, str.Country
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00470680
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0041a75e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00470660
push edi
lea ecx, [ebp - 0x38]
call fcn.00470680
lea eax, [ebp - 0x38]
mov esi, 0x4ff29c
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0041a122
mov ecx, eax
call fcn.00419b7a
lea ecx, [ebp - 0x38]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
call fcn.00470660
cmp dword [ebp + 8], 0
je 0x437151
push edi
lea ecx, [ebp - 0x38]
call fcn.00470680
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0041a122
mov ecx, eax
call fcn.0041f9c9
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004707b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00470660
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str.country_override_
push eax
call fcn.00470fb0
push eax
mov byte [ebp - 4], 0xa
call fcn.004126e0
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00419c15
xor eax, eax
jmp 0x43749a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00419c15
push str.Specify_the_URL_for_the_geo_lookup_service._Example:_n_t_t_t_n_t_t_t____http:__yellow.dev.prognet.com_stub_geoloc.py
lea ecx, [ebp - 0x20]
call fcn.00470680
push str.Specify_the_URL_for_the_geo_lookup_service
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xb
call fcn.00470680
mov edi, 0x4d6700
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.00470680
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.0041a75e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00470660
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00470660
push edi
lea ecx, [ebp - 0x18]
call fcn.00470680
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0041a122
mov ecx, eax
call fcn.00419b7a
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x11
call fcn.00470660
cmp dword [ebp + 8], 0
je 0x43725b
push edi
lea ecx, [ebp - 0x18]
call fcn.00470680
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0041a122
mov ecx, eax
call fcn.0041f9c9
push eax
mov ecx, ebx
call fcn.004707b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.00470660
push ebx
lea eax, [ebp - 0x18]
push str.locale_URL_override_
push eax
call fcn.00470fb0
push eax
mov byte [ebp - 4], 0x14
call fcn.004126e0
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.00470660
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00419c15
xor esi, esi
mov ecx, ebx
mov dword [ebp + 8], esi
call fcn.0040d4fd
test al, al
jne 0x43745d
lea ecx, [ebp - 0x6c]
call fcn.00422b38
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0x15
call fcn.00423e0c
cmp byte [ebx + 7], 0xff
mov byte [ebp - 4], 0x16
jne 0x43729e
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x10]
push esi
push 1
push dword [edi + 0xff0]
lea eax, [ebp - 0x30]
push esi
push ebx
push eax
push edi
push edi
lea ecx, [ebp - 0x6c]
call fcn.00423197
lea ecx, [ebp - 0x30]
mov dword [ebp + 8], eax
call fcn.00423e7b
test eax, eax
je 0x4372d8
push 1
push 0x4e4764
lea ecx, [ebp - 0x30]
call fcn.00423e7f
cmp dword [ebp + 8], esi
jl 0x4373b0
lea ecx, [ebp - 0x30]
call fcn.00447421
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
cmp eax, 2
jae 0x4372fd
push 0x4d7190
jmp 0x4373ba
push 0x4cfa1a
call fcn.004707b0
lea ecx, [ebp - 0x30]
call fcn.00423e7b
mov esi, eax
push 0x4cfb18
push esi
call fcn.00491770
pop ecx
pop ecx
test eax, eax
je 0x437355
lea ecx, [ebp - 0x30]
call fcn.00423e7b
push eax
mov ecx, edi
call fcn.00436332
mov dword [ebp + 8], eax
mov ecx, ebx
test eax, eax
jns 0x437347
push str.fail
call fcn.004707b0
jmp 0x43739e
lea eax, [edi + 0x1a8]
push eax
call fcn.00470710
jmp 0x43739e
mov al, byte [esi]
cmp al, 0x41
jl 0x437363
cmp al, 0x5a
jg 0x437363
add al, 0x20
mov byte [esi], al
mov al, byte [esi + 1]
cmp al, 0x41
jl 0x437373
cmp al, 0x5a
jg 0x437373
add al, 0x20
mov byte [esi + 1], al
mov cl, byte [esi]
cmp cl, 0x61
jl 0x43739e
cmp cl, 0x7a
jg 0x43739e
mov al, byte [esi + 1]
cmp al, 0x61
jl 0x43739e
cmp al, 0x7a
jg 0x43739e
push ecx
mov ecx, ebx
call fcn.00470b60
movzx eax, byte [esi + 1]
push eax
mov ecx, ebx
call fcn.00470b60
mov ecx, ebx
call fcn.0040d4fd
test al, al
je 0x4373bf
push 0x4d7190
jmp 0x4373b8
mov ebx, dword [ebp + 0xc]
push str.fail
mov ecx, ebx
call fcn.004707b0
push str.fail
push ebx
call fcn.0040d567
pop ecx
pop ecx
test al, al
jne 0x4373f2
push 0x4d7190
push ebx
call fcn.0040d567
pop ecx
pop ecx
test al, al
jne 0x4373f2
push str.none
push ebx
call fcn.0040d567
pop ecx
pop ecx
test al, al
je 0x437443
push str.actionerrorvaluegeolookup_failure
lea ecx, [ebp - 0x38]
call fcn.00470680
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x17
call dword [eax + 0x10]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00470660
push str.geolookup_failure
lea ecx, [ebp - 0x38]
call fcn.00470680
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x18
call fcn.004126e0
pop ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.00423e20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00422e51
jmp 0x43746c
mov ebx, dword [ebp + 0xc]
push str.none
mov ecx, ebx
call fcn.004707b0
push ebx
lea eax, [ebp - 0x40]
push str.Locale_
push eax
call fcn.00470fb0
push eax
mov dword [ebp - 4], 0x19
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00470660
mov eax, dword [ebp + 8]
call fcn.004925ee
ret 8