Function at 0x438cc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5790b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
call fcn.0044d418
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x438d0a
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0044d418
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x438d37
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
sub eax, edi
je 0x438d69
dec eax
je 0x438d60
dec eax
jne 0x438d78
push 0x13
push str.Property_Value_Bool
jmp 0x438d70
push 0x12
push str.Property_Value_Int
jmp 0x438d70
push 0x12
push str.Property_Value_Str
lea ecx, [ebp - 0x10]
call fcn.00407870
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SELECT__s_FROM_Project_Property_WHERE_Property_Name_s
push eax
call fcn.00409220
mov ebx, dword [ebp - 0x14]
add esp, 0x10
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0x14], edi
mov dword [ebp - 0x24], ebx
call fcn.00407af0
mov ecx, dword [ebp + 8]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00438aa0
mov ecx, dword [ebp - 0x18]
cmp ecx, edi
mov edi, dword [ebp + 0x14]
jle 0x438df8
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x438df8
inc ecx
imul ecx, eax
cmp eax, ecx
jge 0x438df8
mov edx, dword [edi + eax*4]
mov ecx, dword [ebp + 0x10]
push edx
call fcn.00407960
mov dword [ebp - 0x20], 1
test edi, edi
je 0x438e33
mov ebx, dword [edi - 4]
sub edi, 4
mov esi, 1
cmp ebx, esi
jl 0x438e27
jmp 0x438e10
cmp dword [edi + esi*4], 0
je 0x438e22
mov eax, dword [edi + esi*4]
push eax
call fcn.0044c90f
add esp, 4
inc esi
cmp esi, ebx
jle 0x438e10
push edi
call fcn.0044c90f
mov ebx, dword [ebp - 0x24]
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e73
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10