Function at 0x4156ca
Capabilities:
Reference sql statements

Disassembly:
push 0x2c
mov eax, 0x627d5a
call fcn.0058c0ed
mov edi, ecx
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
or dword [ebp - 0x28], 0xffffffff
push str.friends.home.index
mov esi, str.SELECT__value__FROM__options__WHERE__option____s
lea eax, [ebp - 0x14]
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00401e49
push ebx
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [edi + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x415746
push dword [ebp - 0x18]
call fcn.004887a0
pop ecx
jmp 0x415741
push ebx
push dword [ebp - 0x18]
call fcn.00442db6
push dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x41572a
push dword [ebp - 0x18]
call fcn.00477166
mov dword [esp], str.friends.last.sync.date
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00401e49
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [edi + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4157ac
push dword [ebp - 0x1c]
call fcn.004887a0
pop ecx
jmp 0x4157a7
push ebx
push dword [ebp - 0x1c]
call fcn.00442db6
push dword [ebp - 0x1c]
cdq
mov dword [edi + 0xf68], eax
mov dword [edi + 0xf6c], edx
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x415786
push dword [ebp - 0x1c]
call fcn.00477166
lea ecx, [ebp - 0x14]
mov dword [esp], str.SELECT__order___level___type___name___address___email__FROM__friends__ORDER_BY__order_
call fcn.00401e24
push ebx
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [edi + 0xbb4]
call fcn.004830b7
add esp, 0x14
cmp eax, ebx
jne 0x4158ff
jmp 0x4158ed
push ebx
push dword [ebp - 0x10]
call fcn.00442db6
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.00442db6
push 2
push dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.00442db6
add esp, 0x18
push 3
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00413b8e
push 4
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00413b8e
push 5
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00413b8e
cmp dword [ebp - 0x24], 1
mov byte [ebp - 4], 3
jne 0x415860
push 0x645128
lea ecx, [ebp - 0x20]
call fcn.00401e24
push 0x18
call fcn.0054c584
pop ecx
cmp eax, ebx
je 0x415877
mov ecx, eax
call fcn.0040c432
mov esi, eax
jmp 0x415879
xor esi, esi
cmp dword [ebp - 0x24], 2
mov ecx, esi
sete al
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov byte [esi + 0x14], bl
call fcn.00401dd7
lea eax, [ebp - 0x30]
lea ecx, [esi + 4]
push eax
call fcn.00401dd7
lea eax, [ebp - 0x2c]
lea ecx, [esi + 8]
push eax
call fcn.00401dd7
push esi
lea ecx, [edi + 0xf70]
call fcn.00565459
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x38], eax
jne 0x4158c9
mov dword [edi + 0xf60], esi
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401493
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4157e8
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret