Function at 0x10019248
Capabilities:
Get geographical location

Disassembly:
push 0x23c
mov eax, 0x100a89d7
call fcn.1007d88e
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 0x100ab690
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001972a
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 0x10019333
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x14], ecx
cmp eax, esi
jb 0x1001932a
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.1007d309
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 0x100ab690
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1001972a
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 0x100193d6
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x100193cd
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.1007d309
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.10018cbe
mov byte [ebx + 0x3c], al
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x10019475
mov ecx, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
cmp eax, esi
jb 0x1001946c
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.1007d309
pop ecx
pop ecx
push str.offers
mov ecx, edi
call fcn.100141a7
push eax
lea ecx, [ebp - 0x3c]
call fcn.100073c2
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp al, 2
jne 0x10019569
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 0x1001955a
mov edi, 0x1e8
lea ecx, [ebp - 0x24]
call fcn.100195d1
push edi
mov esi, eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.100802b0
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 0x10019528
mov ecx, eax
call fcn.10018fdb
add dword [ebx + 4], edi
jmp 0x10019530
push eax
mov ecx, ebx
call fcn.100181cd
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.100173f5
lea ecx, [ebp - 0x24]
call fcn.100093e7
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100091d2
test al, al
je 0x100194e1
push dword [ebx + 4]
push dword [ebx]
call fcn.10018b4d
mov eax, dword [ebp - 0x3c]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f3ba
mov eax, ebx
call fcn.1007d83d
ret 4