Function at 0x100162c7
Capabilities:
Get geographical location

Disassembly:
push 0x23c
mov eax, 0x100a4ee4
call fcn.1007a1f5
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x248], ebx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
lea esi, [ebx + 0xc]
mov dword [ebp - 4], ecx
push 0xf
pop edx
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov byte [esi], cl
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], edx
mov byte [ebx + 0x24], cl
mov dword [ebp - 0x244], ecx
push 7
mov dword [ebp - 0x234], ecx
mov byte [ebp - 0x244], cl
lea ecx, [ebp - 0x244]
push str.message
mov byte [ebp - 4], 2
mov dword [ebp - 0x230], edx
call fcn.1000ec5f
push 0x100a7690
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100167a9
push eax
mov ecx, esi
call fcn.100090d3
lea ecx, [ebp - 0x2c]
call fcn.1000e761
mov eax, dword [ebp - 0x230]
mov esi, 0x1000
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x100163b2
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x14], ecx
cmp eax, esi
jb 0x100163a9
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.10079c70
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x230], 0xf
push 7
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x244]
push str.country
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x244], al
call fcn.1000ec5f
push 0x100a7690
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.100167a9
push eax
lea ecx, [ebx + 0x24]
call fcn.100090d3
lea ecx, [ebp - 0x2c]
call fcn.1000e761
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x10016455
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x1001644c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push ecx
call fcn.10079c70
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x230], 0xf
push str.is_eligible_offer
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x244]
push dword [ebp - 0x14]
mov dword [ebp - 0x244], eax
push 0x11
mov byte [ebp - 0x229], al
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x244], al
call fcn.1000364d
lea eax, [ebp - 0x229]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x244]
mov ecx, edi
push eax
call fcn.10015d3d
mov byte [ebx + 0x3c], al
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x100164f4
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x100164eb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push ecx
call fcn.10079c70
pop ecx
pop ecx
push str.offers
mov ecx, edi
call fcn.10015033
push eax
lea ecx, [ebp - 0x3c]
call fcn.100073c2
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp al, 2
jne 0x100165e8
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000ecd7
xor eax, eax
lea edi, [ebp - 0x23c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1000f6fb
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100091d2
test al, al
jne 0x100165d9
mov edi, 0x1e8
lea ecx, [ebp - 0x24]
call fcn.10016650
push edi
mov esi, eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.1007cbc0
add esp, 0xc
lea ecx, [ebp - 0x224]
push esi
call fcn.100138d0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
push ecx
cmp eax, dword [ebx + 8]
je 0x100165a7
mov ecx, eax
call fcn.1001605a
add dword [ebx + 4], edi
jmp 0x100165af
push eax
mov ecx, ebx
call fcn.10015138
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.1001418b
lea ecx, [ebp - 0x24]
call fcn.100093e7
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100091d2
test al, al
je 0x10016560
push dword [ebx + 4]
push dword [ebx]
call fcn.10015bcc
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f3ba
mov eax, ebx
call fcn.1007a1a4
ret 4