Function at 0x1001d52b
Capabilities:
Get geographical location

Disassembly:
push 0x23c
mov eax, 0x100b49e0
call fcn.100872ca
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 0x100b76d0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001d962
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 0x1001d616
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x14], ecx
cmp eax, esi
jb 0x1001d60d
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.10086d44
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 0x100b76d0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001d962
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 0x1001d6b9
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x1001d6b0
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.10086d44
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.1001cfa1
mov byte [ebx + 0x3c], al
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x1001d758
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x1001d74f
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.10086d44
pop ecx
pop ecx
push str.offers
mov ecx, edi
call fcn.1001873c
push eax
lea ecx, [ebp - 0x3c]
call fcn.100073c2
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp al, 2
jne 0x1001d84c
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 0x1001d83d
mov edi, 0x1e8
lea ecx, [ebp - 0x24]
call fcn.1001685d
push edi
mov esi, eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.10089d30
add esp, 0xc
lea ecx, [ebp - 0x224]
push esi
call fcn.10015881
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 7
push ecx
cmp eax, dword [ebx + 8]
je 0x1001d80b
mov ecx, eax
call fcn.1001d2be
add dword [ebx + 4], edi
jmp 0x1001d813
push eax
mov ecx, ebx
call fcn.1001c51a
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.1001b87b
lea ecx, [ebp - 0x24]
call fcn.100093e7
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100091d2
test al, al
je 0x1001d7c4
push dword [ebx + 4]
push dword [ebx]
call fcn.1001ce30
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f3ba
mov eax, ebx
call fcn.10087279
ret 4