Function at 0x5fd6e0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fdb59
sub esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x14]
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
lea ebp, [0x914498]
cmp dword [ebp + 4], edx
jne 0x5fd740
mov eax, dword [0x914498]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402d90
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5fd988
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x8c]
test edx, edx
jne 0x5fd948
movzx edx, word [ecx + 0x94]
test dx, dx
jne 0x5fd908
movzx ecx, word [ecx + 0x58]
test cx, cx
je 0x5fd8c8
lea ecx, [0x5fdb70]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc8]
mov ebx, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0xd0]
lea ebp, [0x78a950]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], ecx
call fcn.0061bff0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5fd884
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
movzx edx, byte [ecx + 0x68]
test dl, dl
je 0x5fd870
movzx ecx, word [ecx + 0x6a]
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 0xe8]
cmp edx, ecx
jle 0x5fd82c
cmp edx, 1
jne 0x5fd807
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x5fd807
movzx ecx, word [ecx + 0x12]
mov edx, dword [0x914fa8]
mov ebx, dword [0x914fac]
xor ebp, ebp
jmp 0x5fd9cd
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005eccf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x7296b7]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x72ae39]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x729e81]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov dword [esp], ebx
mov byte [esp + 4], 0x32
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x72905c]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov dword [esp], ebx
mov byte [esp + 4], 0x6e
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x72ea1b]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x72e173]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
inc ebp
cmp ebp, ebx
jge 0x5fd9db
mov esi, dword [edx + ebp*4]
cmp word [esi], cx
jne 0x5fd9cc
jmp 0x5fd9dd
xor esi, esi
test esi, esi
je 0x5fdb34
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x3c]
cmp dword [edx + 0xc], ecx
jne 0x5fdaf0
mov byte [eax + 0x38], 1
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x35], 1
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 0x30]
mov ebp, dword [edx + 0x34]
mov edx, dword [edx + 0x2c]
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebp
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5fda29
call fcn.00471840
mov dword [edi], edx
mov ebx, dword [ecx + 0x54]
mov dword [edi + 4], ebx
mov dword [ecx + 0x54], edx
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 0x3c]
mov ebp, dword [edx + 0x40]
mov edx, dword [edx + 0x38]
mov dword [ecx + 0x64], ebx
mov dword [ecx + 0x68], ebp
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5fda55
call fcn.00471840
mov dword [edi], edx
mov ebx, dword [ecx + 0x60]
mov dword [edi + 4], ebx
mov dword [ecx + 0x60], edx
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x64]
mov edx, dword [edx + 0x5c]
mov dword [ecx + 0x70], ebx
mov dword [ecx + 0x74], ebp
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5fda81
call fcn.00471840
mov dword [edi], edx
mov ebx, dword [ecx + 0x6c]
mov dword [edi + 4], ebx
mov dword [ecx + 0x6c], edx
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 0x48]
mov ebp, dword [edx + 0x4c]
mov edx, dword [edx + 0x44]
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebp
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5fdaad
call fcn.00471840
mov dword [edi], edx
mov ebx, dword [ecx + 0x3c]
mov dword [edi + 4], ebx
mov dword [ecx + 0x3c], edx
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x54]
mov ebx, dword [eax + 0x58]
mov eax, dword [eax + 0x50]
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x50], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x5fdad9
call fcn.00471840
mov dword [edi], eax
mov edx, dword [ecx + 0x48]
mov dword [edi + 4], edx
mov dword [ecx + 0x48], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x7305fc]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
add esp, 0x24
ret
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005eccf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x24
ret
call fcn.00470430
jmp fcn.005fd6e0