Function at 0x4af68b
Capabilities:
Get geographical location
Reference sql statements

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x5c
mov eax, 0x62f052
call fcn.0058c0ed
mov eax, dword [ebp + 0x218]
mov edi, ecx
cmp eax, 9
je 0x4af6f7
cmp eax, 4
je 0x4af6f7
cmp eax, 6
je 0x4af6f7
cmp eax, 0xb
je 0x4af6f7
cmp eax, 2
je 0x4af6d9
mov dword [ebp - 0x30], 0x1f
jmp 0x4af6fe
mov eax, dword [ebp + 0x214]
and eax, reloc.WS2_32.dll_closesocket
jns 0x4af6eb
dec eax
or eax, 0xfffffffc
inc eax
neg eax
sbb eax, eax
add eax, 0x1d
mov dword [ebp - 0x30], eax
jmp 0x4af6fe
mov dword [ebp - 0x30], 0x1e
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a60c
xor ebx, ebx
push ebx
push ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x44]
call fcn.00408a22
push 0xffffffffffffffff
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404c6a
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c4e
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404c2e
push eax
lea ecx, [ebp - 0x4c]
call fcn.00404a9d
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
adc eax, dword [ebp - 0x40]
lea esi, [edi + 0x1444]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x14], eax
jg 0x4afa8a
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x60]
push dword [ebp + 0x218]
push dword [ebp + 0x214]
call fcn.00404a9d
lea ecx, [ebp - 0x60]
call fcn.00408b72
sub eax, 2
jns 0x4af793
add eax, 7
lea ecx, [ebp - 0x2c]
mov dword [esi - 0x10], eax
mov byte [esi - 9], bl
call fcn.00404c2e
cmp dword [ebp + 0x214], eax
jne 0x4af7cb
lea ecx, [ebp - 0x2c]
call fcn.00404c4e
cmp dword [ebp + 0x218], eax
jne 0x4af7cb
lea ecx, [ebp - 0x2c]
call fcn.00404c6a
cmp dword [ebp - 0x14], eax
jne 0x4af7cb
xor eax, eax
inc eax
jmp 0x4af7cd
xor eax, eax
lea ecx, [ebp - 0x2c]
mov byte [esi - 0xa], al
call fcn.00404c2e
cmp eax, dword [ebp + 0x214]
jne 0x4af802
lea ecx, [ebp - 0x2c]
call fcn.00404c4e
cmp eax, dword [ebp + 0x218]
jne 0x4af802
lea ecx, [ebp - 0x2c]
call fcn.00404c6a
cmp eax, dword [ebp - 0x14]
jne 0x4af802
xor eax, eax
inc eax
jmp 0x4af804
xor eax, eax
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x218]
mov byte [esi - 0xb], al
push dword [ebp + 0x214]
mov dword [esi - 4], ebx
mov dword [esi - 8], ebx
mov byte [esi - 0xc], 1
mov dword [esi], ebx
call fcn.00404a9d
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x44]
push dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
adc eax, dword [ebp - 0x40]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.00408b4f
test al, al
je 0x4afa12
mov eax, dword [edi + 0x18b4]
mov eax, dword [eax + 0x14c8]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4af8ac
mov ecx, dword [edi + 0x18b4]
lea eax, [ebp - 0x10]
push eax
add ecx, 0x14c4
call fcn.00408c8a
mov eax, dword [eax]
mov ecx, dword [eax + 0x148]
mov eax, dword [eax + 0x14c]
cmp eax, dword [ebp - 0x18]
jl 0x4af8a7
jg 0x4af899
cmp ecx, dword [ebp - 0x1c]
jbe 0x4af8a7
cmp eax, dword [ebp - 0x20]
jg 0x4af8a7
jl 0x4af8a5
cmp ecx, dword [ebp - 0x24]
jae 0x4af8a7
inc dword [esi]
cmp dword [ebp - 0x10], ebx
jne 0x4af86a
mov eax, dword [edi + 0x18b4]
mov eax, dword [eax + 0x151c]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4af8fb
mov ecx, dword [edi + 0x18b4]
lea eax, [ebp - 0x10]
push eax
add ecx, 0x1518
call fcn.00408c8a
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0x18]
jl 0x4af8f6
jg 0x4af8e8
cmp ecx, dword [ebp - 0x1c]
jbe 0x4af8f6
cmp eax, dword [ebp - 0x20]
jg 0x4af8f6
jl 0x4af8f4
cmp ecx, dword [ebp - 0x24]
jae 0x4af8f6
inc dword [esi]
cmp dword [ebp - 0x10], ebx
jne 0x4af8bf
mov eax, dword [edi + 0x18b4]
mov eax, dword [eax + 0x1500]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4af94a
mov ecx, dword [edi + 0x18b4]
lea eax, [ebp - 0x10]
push eax
add ecx, 0x14fc
call fcn.00408c8a
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0x18]
jl 0x4af945
jg 0x4af937
cmp ecx, dword [ebp - 0x1c]
jbe 0x4af945
cmp eax, dword [ebp - 0x20]
jg 0x4af945
jl 0x4af943
cmp ecx, dword [ebp - 0x24]
jae 0x4af945
inc dword [esi]
cmp dword [ebp - 0x10], ebx
jne 0x4af90e
mov eax, dword [edi + 0x18b4]
mov eax, dword [eax + 0x14e4]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4af999
mov ecx, dword [edi + 0x18b4]
lea eax, [ebp - 0x10]
push eax
add ecx, 0x14e0
call fcn.00408c8a
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ebp - 0x18]
jl 0x4af994
jg 0x4af986
cmp ecx, dword [ebp - 0x1c]
jbe 0x4af994
cmp eax, dword [ebp - 0x20]
jg 0x4af994
jl 0x4af992
cmp ecx, dword [ebp - 0x24]
jae 0x4af994
inc dword [esi]
cmp dword [ebp - 0x10], ebx
jne 0x4af95d
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x34]
call fcn.004018a6
push dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
mov dword [ebp - 4], ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x14
push str.SELECT__key__FROM__stickiesproperties__WHERE____type____i__AND___t_d_____I64d__AND___t_d_____I64d__
push eax
call fcn.00401e49
push ebx
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x34]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x30
cmp eax, ebx
jne 0x4af9fa
jmp 0x4af9ec
inc dword [esi]
push dword [ebp - 0x38]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4af9ea
push dword [ebp - 0x38]
call fcn.00477166
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401493
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x4c]
call fcn.004a832d
test al, al
je 0x4afa8d
mov eax, dword [edi + 0x18b4]
mov eax, dword [eax + 0x1500]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4afa8d
mov ecx, dword [edi + 0x18b4]
lea eax, [ebp - 0x10]
push eax
add ecx, 0x14fc
call fcn.00408c8a
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 0x218]
mov dword [ebp - 0x58], eax
push dword [ebp + 0x214]
push eax
call fcn.004a83d8
test al, al
je 0x4afa83
mov eax, dword [ebp - 0x58]
cmp byte [eax + 0xa0], bl
je 0x4afa80
inc dword [esi - 4]
jmp 0x4afa83
inc dword [esi - 8]
cmp dword [ebp - 0x10], ebx
jne 0x4afa37
jmp 0x4afa8d
mov byte [esi - 0xc], bl
inc dword [ebp - 0x14]
add esi, 0x24
cmp dword [ebp - 0x14], 0x20
jl 0x4af75b
mov ecx, dword [ebp + 0x218]
push 0x38
pop eax
cmp ecx, 2
jne 0x4afaae
push 0x39
pop eax
cmp ecx, 3
jne 0x4afab6
push 0x3a
pop eax
cmp ecx, 4
jne 0x4afabe
push 0x3b
pop eax
cmp ecx, 5
jne 0x4afac6
push 0x3c
pop eax
cmp ecx, 6
jne 0x4aface
push 0x3d
pop eax
cmp ecx, 7
jne 0x4afad6
push 0x3e
pop eax
cmp ecx, 8
jne 0x4afade
push 0x3f
pop eax
cmp ecx, 9
jne 0x4afae6
push 0x40
pop eax
cmp ecx, 0xa
jne 0x4afaee
push 0x41
pop eax
cmp ecx, 0xb
jne 0x4afaf6
push 0x42
pop eax
cmp ecx, 0xc
jne 0x4afafe
push 0x43
pop eax
push 0x104
lea ecx, [ebp]
push ecx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402035
push dword [ebp + 0x214]
add edi, 0x1bd4
push dword [ebp - 0x3c]
mov dword [ebp - 4], 1
push str._s__i
push edi
call fcn.00401e49
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0058c0de
add ebp, 0x20c
leave
ret 8