Function at 0x42be03
Capabilities:
Get geographical location

Disassembly:
push 0x64
mov eax, 0x498bd5
call fcn.00470906
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.0044eb90
and dword [ebp - 4], 0
push eax
call fcn.00404620
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.0044e260
push str.This_2_character_country_code_overrides_the_geo_lookup_value
lea ecx, [ebp - 0x28]
call fcn.0044e280
push str.Override_the_geo_lookup_value
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0044e280
mov edi, str.Country
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0044e280
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.0040e532
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0044e260
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0044e260
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0044e260
push edi
lea ecx, [ebp - 0x38]
call fcn.0044e280
lea eax, [ebp - 0x38]
mov esi, 0x4c3ee8
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0040df2e
mov ecx, eax
call fcn.0040d9ba
lea ecx, [ebp - 0x38]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
call fcn.0044e260
cmp dword [ebp + 8], 0
je 0x42bf56
push edi
lea ecx, [ebp - 0x38]
call fcn.0044e280
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0040df2e
mov ecx, eax
call fcn.00413696
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0044e3b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0044e260
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push str.country_override_
push eax
call fcn.0044eb90
push eax
mov byte [ebp - 4], 0xa
call fcn.00404620
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0044e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040da55
xor eax, eax
jmp 0x42c29f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040da55
push str.Specify_the_URL_for_the_geo_lookup_service._Example:_n_____________n________________http:__yellow.dev.prognet.com_stub_geoloc.py
lea ecx, [ebp - 0x20]
call fcn.0044e280
push str.Specify_the_URL_for_the_geo_lookup_service
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xb
call fcn.0044e280
mov edi, 0x4a6fe0
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.0044e280
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.0040e532
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.0044e260
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.0044e260
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.0044e260
push edi
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0040df2e
mov ecx, eax
call fcn.0040d9ba
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x11
call fcn.0044e260
cmp dword [ebp + 8], 0
je 0x42c060
push edi
lea ecx, [ebp - 0x18]
call fcn.0044e280
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0040df2e
mov ecx, eax
call fcn.00413696
push eax
mov ecx, ebx
call fcn.0044e3b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.0044e260
push ebx
lea eax, [ebp - 0x18]
push str.locale_URL_override_
push eax
call fcn.0044eb90
push eax
mov byte [ebp - 4], 0x14
call fcn.00404620
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call fcn.0044e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040da55
xor esi, esi
mov ecx, ebx
mov dword [ebp + 8], esi
call fcn.00401219
test al, al
jne 0x42c262
lea ecx, [ebp - 0x6c]
call fcn.004163b2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0x15
call fcn.0041763f
cmp byte [ebx + 7], 0xff
mov byte [ebp - 4], 0x16
jne 0x42c0a3
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x10]
push esi
push 1
push dword [edi + 0xb40]
lea eax, [ebp - 0x30]
push esi
push ebx
push eax
push edi
push edi
lea ecx, [ebp - 0x6c]
call fcn.00416a11
lea ecx, [ebp - 0x30]
mov dword [ebp + 8], eax
call fcn.004176b2
test eax, eax
je 0x42c0dd
push 1
push 0x4a7a80
lea ecx, [ebp - 0x30]
call fcn.004176b6
cmp dword [ebp + 8], esi
jl 0x42c1b5
lea ecx, [ebp - 0x30]
call fcn.004176ae
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
cmp eax, 2
jae 0x42c102
push 0x4a7a7c
jmp 0x42c1bf
push 0x4a099a
call fcn.0044e3b0
lea ecx, [ebp - 0x30]
call fcn.004176b2
mov esi, eax
push 0x4a0a90
push esi
call fcn.0046f770
pop ecx
pop ecx
test eax, eax
je 0x42c15a
lea ecx, [ebp - 0x30]
call fcn.004176b2
push eax
mov ecx, edi
call fcn.0042b0a4
mov dword [ebp + 8], eax
mov ecx, ebx
test eax, eax
jns 0x42c14c
push str.fail
call fcn.0044e3b0
jmp 0x42c1a3
lea eax, [edi + 0x1a8]
push eax
call fcn.0044e310
jmp 0x42c1a3
mov al, byte [esi]
cmp al, 0x41
jl 0x42c168
cmp al, 0x5a
jg 0x42c168
add al, 0x20
mov byte [esi], al
mov al, byte [esi + 1]
cmp al, 0x41
jl 0x42c178
cmp al, 0x5a
jg 0x42c178
add al, 0x20
mov byte [esi + 1], al
mov cl, byte [esi]
cmp cl, 0x61
jl 0x42c1a3
cmp cl, 0x7a
jg 0x42c1a3
mov al, byte [esi + 1]
cmp al, 0x61
jl 0x42c1a3
cmp al, 0x7a
jg 0x42c1a3
push ecx
mov ecx, ebx
call fcn.0044e760
movzx eax, byte [esi + 1]
push eax
mov ecx, ebx
call fcn.0044e760
mov ecx, ebx
call fcn.00401219
test al, al
je 0x42c1c4
push 0x4a7a7c
jmp 0x42c1bd
mov ebx, dword [ebp + 0xc]
push str.fail
mov ecx, ebx
call fcn.0044e3b0
push str.fail
push ebx
call fcn.00401283
pop ecx
pop ecx
test al, al
jne 0x42c1f7
push 0x4a7a7c
push ebx
call fcn.00401283
pop ecx
pop ecx
test al, al
jne 0x42c1f7
push str.none
push ebx
call fcn.00401283
pop ecx
pop ecx
test al, al
je 0x42c248
push str.actionerrorvaluegeolookup_failure
lea ecx, [ebp - 0x38]
call fcn.0044e280
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.0044e260
push str.geolookup_failure
lea ecx, [ebp - 0x38]
call fcn.0044e280
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x18
call fcn.00404620
pop ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.0044e260
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.00417653
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004166cb
jmp 0x42c271
mov ebx, dword [ebp + 0xc]
push str.none
mov ecx, ebx
call fcn.0044e3b0
push ebx
lea eax, [ebp - 0x40]
push str.Locale_
push eax
call fcn.0044eb90
push eax
mov dword [ebp - 4], 0x19
call fcn.00404620
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.0044e260
mov eax, dword [ebp + 8]
call fcn.004709de
ret 8