Function at 0xba4df0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x48]
push 8
call fcn.00b797e0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.00b857d0
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0xba5048
lea ecx, [ecx]
push 0xdc0a80
push str.country_codes
mov ecx, ebx
mov byte [ebp + 0xb], 0
call fcn.00b856a0
push eax
call fcn.00b860a0
mov esi, eax
add esp, 8
test esi, esi
je 0xba4f51
cmp byte [esi], 0
je 0xba4f51
push 0
push 0
push 4
lea ecx, [ebp - 0x2c]
call fcn.00b797e0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
push eax
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0xdcc7b8
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.00c224a0
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0xba4efd
xor edi, edi
test eax, eax
jle 0xba4f01
mov eax, dword [ebp + 0xc]
lea esp, [esp]
mov edx, dword [ebx + edi*4]
test eax, eax
mov esi, 0xdc0a80
mov ecx, 0xdc0a80
cmovne esi, eax
test edx, edx
cmovne ecx, edx
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0xba4ee7
test dl, dl
je 0xba4ee3
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0xba4ee7
add ecx, 2
add esi, 2
test dl, dl
jne 0xba4ec7
xor ecx, ecx
jmp 0xba4eec
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0xba4ef8
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0xba4eb0
jmp 0xba4f01
cmp edi, 0xffffffff
je 0xba4f01
mov byte [ebp + 0xb], 1
mov esi, dword [ebp - 0x1c]
sub esi, 1
js 0xba4f2d
lea esp, [esp]
call fcn.00c13ba0
push 0
push dword [ebx + esi*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
sub esi, 1
js 0xba4f2d
mov ebx, dword [ebp - 0x28]
jmp 0xba4f10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
call fcn.00b79910
lea ecx, [ebp - 0x2c]
call fcn.00b79910
cmp byte [ebp + 0xb], 0
mov ebx, dword [ebp - 4]
je 0xba5034
push 0
push 1
push str.weight
mov ecx, ebx
call fcn.00b856a0
push eax
call fcn.00b85f30
mov edi, eax
add esp, 0xc
test edi, edi
je 0xba5034
jg 0xba4f92
push str.nWeight___0
push 0x179
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlconsistenthash.h
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xba4f92
int3
mov esi, dword [ebp - 0x34]
lea eax, [esi + edi]
cmp eax, esi
jg 0xba4fbb
push str.__m_nTotalWeightsnWeight____m_nTotalWeights
push 0x17a
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlconsistenthash.h
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xba4fb8
int3
mov esi, dword [ebp - 0x34]
test edi, edi
jle 0xba5034
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
add esi, edi
mov dword [ebp - 0x34], esi
cmp eax, ecx
jb 0xba4ff7
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*8]
lea ecx, [ebp - 0x18]
cmp ecx, eax
jae 0xba4ff7
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x485
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xba4ff7
int3
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
call fcn.00b4ffe0
mov edx, dword [ebp - 0x38]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0xba5026
lea ecx, [ebp - 0x48]
call fcn.00b4ffe0
mov ecx, dword [ebp - 0x38]
sub ecx, eax
inc ecx
push ecx
lea ecx, [ebp - 0x48]
call fcn.00b79a60
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
inc edx
mov dword [ebp - 0x38], edx
mov dword [eax + edi*8], esi
mov dword [eax + edi*8 + 4], ebx
mov ecx, ebx
call fcn.00b85930
mov ebx, eax
mov dword [ebp - 4], eax
test ebx, ebx
jne 0xba4e30
xor edi, edi
push dword [ebp - 0x34]
mov dword [ebp + 8], edi
push 0
call fcn.00c27330
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x38]
xor esi, esi
test eax, eax
jle 0xba5083
mov edx, dword [ebp - 0x44]
mov ecx, edx
lea ebx, [ebx]
mov edi, dword [ecx]
cmp edi, ebx
jge 0xba50d7
inc esi
add ecx, 8
cmp esi, eax
jl 0xba5070
mov edi, dword [ebp + 8]
test eax, eax
je 0xba50a1
push str.0__m_vecChoices.Count__
push 0x1cd
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlconsistenthash.h
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xba50a1
int3
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
call fcn.00b79910
lea ecx, [ebp - 0x48]
call fcn.00b79910
call fcn.00c13ba0
push 0
push dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test edi, edi
pop edi
pop esi
setg al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
test esi, esi
jle 0xba50e5
sub edi, dword [edx + esi*8 - 8]
sub dword [ebp - 0x34], edi
mov ebx, eax
sub ebx, esi
dec ebx
test ebx, ebx
jle 0xba510f
lea ecx, [edx + esi*8]
lea eax, [ebx*8]
push eax
lea eax, [ecx + 8]
push eax
push ecx
call fcn.00c2c570
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov edx, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x38], eax
cmp esi, eax
jge 0xba5125
sub dword [edx + esi*8], edi
inc esi
cmp esi, dword [ebp - 0x38]
jge 0xba5125
mov edx, dword [ebp - 0x44]
jmp 0xba5117
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00b85900
push 0xdc0a80
push str.base_url
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.00b856a0
push eax
call fcn.00b860a0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, esi
push 0
push 0
push 0xdd03b0
call fcn.00b856a0
push eax
call fcn.00b85b40
add esp, 0xc
mov ecx, esi
mov bl, al
push 0
push 1
push str.weight
call fcn.00b856a0
push eax
call fcn.00b85f30
mov edi, eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov esi, 0xdc0a80
mov ecx, dword [eax]
test ecx, ecx
push dword [ebp - 8]
cmovne esi, ecx
lea ecx, [ebp - 0x30]
call fcn.00b7f6a0
push dword [ebp - 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.00b7f6a0
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
push esi
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.00b7f6a0
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 4]
cmp eax, ecx
jb 0xba520d
mov eax, dword [ebx + 0x10]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
lea ecx, [ebp - 0x30]
cmp ecx, eax
jae 0xba520d
push str._src___m_Memory.Base______src____m_Memory.Base____m_Size___
push 0x485
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1utlvector.h
call fcn.00c13fe0
add esp, 0xc
test al, al
jne 0xba520d
int3
mov edi, dword [ebx + 0x10]
mov ecx, ebx
mov esi, edi
call fcn.00b4ffe0
lea ecx, [esi + 1]
cmp ecx, eax
jle 0xba5238
mov ecx, ebx
call fcn.00b4ffe0
mov ecx, dword [ebx + 0x10]
sub ecx, eax
inc ecx
push ecx
mov ecx, ebx
call fcn.00b79a60
mov esi, dword [ebx + 0x10]
lea eax, [esi + 1]
mov dword [ebx + 0x10], eax
lea ecx, [edi + edi*2]
mov eax, dword [ebx + 4]
lea ecx, [eax + ecx*8]
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
mov dword [ecx + 4], eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov byte [ecx + 8], al
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x1c], 0
call fcn.00c13ba0
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
call fcn.00c13ba0
push 0
push dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
call fcn.00c13ba0
push 0
push dword [ebp - 0x30]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edi, dword [ebp + 8]
inc edi
jmp 0xba504a