Function at 0x5d3c20
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5d4247
sub esp, 0xa0
mov edx, dword [0x914ce8]
mov ebx, dword [0x914cec]
mov ebp, dword [esp + 0xa4]
jmp 0x5d3c57
add edx, 0x48
dec ebx
test ebx, ebx
jle 0x5d3c7c
lea edi, [esp + 0x58]
mov esi, edx
call fcn.00471f2c
cmp dword [esp + 0x58], ebp
jne 0x5d3c53
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
jmp 0x5d3c80
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ebx
test edx, edx
jne 0x5d3ccc
cmp ebx, 4
jne 0x5d3cab
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
jmp 0x5d3e03
mov eax, dword [0x913d90]
mov ecx, dword [0x913d94]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
cmp edx, 2
je 0x5d40f2
cmp edx, 3
jne 0x5d3d53
movzx esi, byte [esp + 0xc8]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d3d53
mov eax, dword [0x913514]
mov dword [esp], eax
call fcn.0049c7f0
cmp dword [esp + 8], 1
jne 0x5d3d25
mov eax, dword [esp + 4]
cmp byte [eax], 0x31
jne 0x5d3d25
mov eax, dword [0x913514]
mov dword [esp], eax
call fcn.0049c620
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xa4]
jmp 0x5d3d53
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78b180]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0xa0
ret
cmp edx, 0x14
jae 0x5d40d1
mov ecx, dword [0x91f0e4]
cmp edx, ecx
jae 0x5d423f
mov eax, dword [0x91f0e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5d40d1
mov dword [esp], edx
call fcn.0052aa00
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xa4]
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x40]
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x5d40b0
mov edi, dword [edx + 8]
cmp edi, 0x4bcec15d
jne 0x5d3e7f
mov edi, eax
lea eax, [0x6eb9a0]
cmp edx, eax
jne 0x5d40b0
cmp ebx, 1
jne 0x5d3e4b
mov dword [esp + 0x50], esi
mov dword [esp + 0x3c], ecx
mov eax, dword [0x914ce8]
mov edx, dword [0x914cec]
jmp 0x5d4127
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
call fcn.005d3b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
cmp edi, 0x8c7bd38d
jne 0x5d3f74
lea ebp, [0x707fa0]
cmp edx, ebp
jne 0x5d40b0
cmp ebx, 3
jne 0x5d3f40
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
call fcn.005a6de0
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5d3f04
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xa0
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x728219]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0xa0
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
call fcn.005d3b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
cmp edi, 0xc0d9e4a4
jne 0x5d40b0
lea ebp, [0x6e3700]
cmp edx, ebp
jne 0x5d40b0
mov edx, dword [esp + 0xc4]
mov edi, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
cmp ebx, 4
jne 0x5d4065
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005b1890
movzx eax, byte [esp + 0x34]
test al, al
je 0x5d4029
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xa0
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x7291b0]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0xa0
ret
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.00465f80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
lea ecx, [0x6e3700]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005d3b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
mov eax, dword [0x913d90]
mov ecx, dword [0x913d94]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
mov eax, dword [0x913d90]
mov ecx, dword [0x913d94]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
mov dword [esp], ebp
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78b180]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0xa0
ret
add eax, 0x48
dec edx
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, ebx
test edx, edx
jle 0x5d41de
mov ebx, edi
lea edi, [esp + 0x58]
mov esi, eax
call fcn.00471f2c
cmp dword [esp + 0x58], ebp
jne 0x5d4119
movzx eax, byte [esp + 0x9c]
test al, al
jne 0x5d415d
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, ebx
jmp 0x5d41de
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
call fcn.005b2f60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
call fcn.005b2980
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
add esp, 0xa0
ret
mov eax, edx
call fcn.004718c0
nop
call fcn.00470430
jmp fcn.005d3c20