Function at 0x10015092
Capabilities:
Get geographical location

Disassembly:
push 0x23c
mov eax, 0x100a3768
call fcn.10078d22
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.10008930
push 0x100a667c
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10015574
push eax
mov ecx, esi
call fcn.1000fec6
lea ecx, [ebp - 0x2c]
call fcn.100084f5
mov eax, dword [ebp - 0x230]
mov esi, 0x1000
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x1001517d
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x14], ecx
cmp eax, esi
jb 0x10015174
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1007879d
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.10008930
push 0x100a667c
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.10015574
push eax
lea ecx, [ebx + 0x24]
call fcn.1000fec6
lea ecx, [ebp - 0x2c]
call fcn.100084f5
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x10015220
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x10015217
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push ecx
call fcn.1007879d
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.10002461
lea eax, [ebp - 0x229]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x244]
mov ecx, edi
push eax
call fcn.10014b08
mov byte [ebx + 0x3c], al
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x100152bf
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x100152b6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
push eax
push ecx
call fcn.1007879d
pop ecx
pop ecx
push str.offers
mov ecx, edi
call fcn.10013dfe
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000f6c3
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp al, 2
jne 0x100153b3
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.1001190a
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.10011d65
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10010317
test al, al
jne 0x100153a4
mov edi, 0x1e8
lea ecx, [ebp - 0x24]
call fcn.1001541b
push edi
mov esi, eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.1007b800
add esp, 0xc
lea ecx, [ebp - 0x224]
push esi
call fcn.1000affe
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
push ecx
cmp eax, dword [ebx + 8]
je 0x10015372
mov ecx, eax
call fcn.10014e25
add dword [ebx + 4], edi
jmp 0x1001537a
push eax
mov ecx, ebx
call fcn.10013f03
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.1000fd30
lea ecx, [ebp - 0x24]
call fcn.100103f8
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10010317
test al, al
je 0x1001532b
push dword [ebx + 4]
push dword [ebx]
call fcn.10014997
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000b792
mov eax, ebx
call fcn.10078cd1
ret 4