Function at 0x20836720
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x1c], eax
or ah, 0x28
mov dword [esp + 0x20], ecx
mov dword [edi + 0xc], eax
mov al, byte [edi + 0x1c]
test al, al
mov dword [esp + 0x24], edx
jne 0x20836771
mov eax, dword [esp + 0x2c]
push 0x20724524
push edi
push eax
call fcn.207e1e20
add esp, 0xc
mov esi, 1
jmp 0x20836ecc
mov ecx, dword [edi + 8]
mov eax, 0x2072450c
test eax, eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], edx
je 0x20836ec7
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x208367a7
push edi
call fcn.207c8f60
jmp 0x208367d5
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x208367cb
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x208367b9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ecc
mov eax, dword [edi + 4]
lea edx, [eax + eax*2]
mov eax, dword [edi + 8]
mov esi, dword [eax + edx*8 - 0x14]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], esi
lea ecx, [eax - 0x18]
push edx
mov dword [esp + 0x18], ecx
call fcn.207c0ec0
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
push ebp
push eax
call fcn.207c0eb0
add esp, 4
push eax
push esi
call fcn.207c0e10
add esp, 0xc
test eax, eax
jne 0x20836ec7
mov ecx, dword [edi + 0x24]
push ebp
push ecx
push esi
call fcn.207c0e10
add esp, 0xc
test eax, eax
jne 0x20836ec7
mov al, byte [edi + 0x1e]
test al, al
jne 0x20836ec7
mov edx, 0x207244e8
test edx, edx
je 0x20836ec7
lea eax, [esp + 0x2c]
push 0
push eax
push 0xffffffffffffffff
push edx
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x2083687d
push edi
call fcn.207c8f60
jmp 0x208368ab
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x208368a1
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x2083688f
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ecc
mov ecx, 0x207244d4
test ecx, ecx
je 0x20836ec7
lea edx, [esp + 0x2c]
push eax
push edx
push 0xffffffffffffffff
push ecx
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x208368e3
push edi
call fcn.207c8f60
jmp 0x20836911
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836907
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x208368f5
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ecc
push eax
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push 0x2072444c
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x208369f0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x208369e3
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.207f5b20
add esp, 8
test eax, eax
je 0x208369cf
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x20836984
push edi
call fcn.207c8f60
jmp 0x208369b2
mov edx, dword [esp + 0x10]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x208369a8
mov eax, dword [esp + 0x10]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836996
mov ecx, dword [esp + 0x10]
push ecx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x208369d4
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x208369e3
jmp 0x20836952
mov esi, 7
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5630
add esp, 4
jmp 0x208369f2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
lea edx, [esp + 0x2c]
push esi
push edx
push 0xffffffffffffffff
push 0x207243e4
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x20836acc
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836abf
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call fcn.207f5b20
add esp, 8
test eax, eax
je 0x20836aab
lea edx, [esp + 0x10]
push 0
push edx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x20836a60
push edi
call fcn.207c8f60
jmp 0x20836a8e
mov eax, dword [esp + 0x10]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836a84
mov ecx, dword [esp + 0x10]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836a72
mov edx, dword [esp + 0x10]
push edx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ab0
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836abf
jmp 0x20836a2e
mov esi, 7
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
jmp 0x20836ace
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
lea eax, [esp + 0x2c]
push esi
push eax
push 0xffffffffffffffff
push 0x2072436c
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x20836ba8
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836b9b
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.207f5b20
add esp, 8
test eax, eax
je 0x20836b87
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x20836b3c
push edi
call fcn.207c8f60
jmp 0x20836b6a
mov edx, dword [esp + 0x10]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836b60
mov eax, dword [esp + 0x10]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836b4e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836b8c
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836b9b
jmp 0x20836b0a
mov esi, 7
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5630
add esp, 4
jmp 0x20836baa
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
lea edx, [esp + 0x2c]
push esi
push edx
push 0xffffffffffffffff
push 0x207242bc
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x20836c84
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836c77
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call fcn.207f5b20
add esp, 8
test eax, eax
je 0x20836c63
lea edx, [esp + 0x10]
push 0
push edx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x20836c18
push edi
call fcn.207c8f60
jmp 0x20836c46
mov eax, dword [esp + 0x10]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836c3c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836c2a
mov edx, dword [esp + 0x10]
push edx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836c68
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836c77
jmp 0x20836be6
mov esi, 7
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
jmp 0x20836c86
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
lea eax, [esp + 0x2c]
push esi
push eax
push 0xffffffffffffffff
push 0x20724248
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x20836d60
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836d53
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.207f5b20
add esp, 8
test eax, eax
je 0x20836d3f
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xffffffffffffffff
push eax
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
je 0x20836cf4
push edi
call fcn.207c8f60
jmp 0x20836d22
mov edx, dword [esp + 0x10]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836d18
mov eax, dword [esp + 0x10]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836d06
mov ecx, dword [esp + 0x10]
push ecx
call fcn.207f5630
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836d44
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836d53
jmp 0x20836cc2
mov esi, 7
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5630
add esp, 4
jmp 0x20836d62
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
lea edx, [esp + 0x2c]
push esi
push edx
push 0xffffffffffffffff
push 0x207241b0
push edi
call fcn.207fd830
add esp, 0x14
test eax, eax
jne 0x20836dd5
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5890
add esp, 4
cmp eax, 0x64
jne 0x20836dc8
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call fcn.207f5b20
push eax
push edi
call fcn.20836f20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x20836eb5
mov edx, dword [esp + 0x2c]
push edx
call fcn.207f5890
add esp, 4
cmp eax, 0x64
je 0x20836d96
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.207f5630
add esp, 4
mov esi, eax
test esi, esi
jne 0x20836ecc
push 0x207240fc
push edi
call fcn.20836f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x20836ecc
xor ebp, ebp
mov ecx, dword [esp + 0x30]
xor eax, eax
mov al, byte [ebp + 0x20734664]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.207c6ee0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x20836ecc
mov ecx, dword [esp + 0x2c]
mov al, byte [ebp + 0x20734664]
xor edx, edx
mov dl, byte [ebp + 0x20734665]
add edx, ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.207c7040
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x20836ecc
add ebp, 2
cmp ebp, 8
jb 0x20836df9
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.207c7cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x20836ecc
mov ecx, dword [esp + 0xc]
push ecx
call fcn.207c1550
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ecc
mov edx, dword [esp + 0x30]
push edx
call fcn.207c1550
mov esi, eax
add esp, 4
test esi, esi
jne 0x20836ecc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.207c0eb0
mov edx, dword [esp + 0x38]
add esp, 4
push eax
push edx
call fcn.207c0e10
add esp, 0xc
mov esi, eax
jmp 0x20836ecc
mov eax, dword [esp + 0x2c]
push eax
call fcn.207f5630
add esp, 4
jmp 0x20836dd7
mov esi, 7
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ebp, ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], edx
mov byte [edi + 0x1c], 1
je 0x20836f07
mov eax, dword [ebp + 4]
push eax
call fcn.207c0b80
add esp, 4
mov dword [ebp + 4], 0
mov dword [ebp + 0x14], 0
push 0
push edi
call fcn.207f0560
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret