Function at 0x567200
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56755a
sub esp, 0x48
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0046c140
movzx eax, byte [esp + 0x10]
test al, al
je 0x567254
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
jmp 0x567288
mov eax, dword [esp + 0x50]
mov dword [esp], eax
movzx ecx, byte [esp + 0x5c]
mov byte [esp + 4], cl
call fcn.00563460
movzx eax, byte [esp + 8]
test al, al
je 0x56727c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
jmp 0x567288
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x4c]
test byte [edx], al
lea ebx, [edx + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp], ebx
call fcn.0046dc30
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 0x30]
test cl, cl
je 0x567535
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0046c140
movzx eax, byte [esp + 0x10]
test al, al
je 0x5672f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
jmp 0x56734f
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call fcn.00563200
movzx eax, byte [esp + 0xc]
test al, al
je 0x567347
mov ebx, dword [esp + 0x4c]
mov ebp, dword [ebx + 0x80]
mov esi, dword [ebx + 0x84]
add ebp, 1
adc esi, 0
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x84], esi
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
jmp 0x56734f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x50]
mov byte [ebx + 0x30], 0
mov edx, dword [0x7ce144]
mov ebp, dword [edx]
call ebp
lea edi, [esp + 0x34]
lea esi, [esp]
call fcn.00464aae
mov eax, dword [esp + 0x50]
lea edi, [eax + 0x34]
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x567391
lea esi, [esp + 0x34]
call fcn.00464aae
jmp 0x5673af
lea eax, [0x617f40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004116d0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x28], ecx
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x20], ebx
xor edx, edx
jmp 0x5673e1
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + edx*4]
mov ebx, dword [eax]
mov edx, eax
call ebx
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
cmp edx, ebx
jl 0x5673c1
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x567406
mov dword [eax + 0x48], 0
jmp 0x567410
lea edi, [eax + 0x48]
xor eax, eax
call fcn.00464380
mov eax, dword [0x7d3720]
mov ecx, dword [0x7d3724]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0046c140
movzx eax, byte [esp + 0x10]
test al, al
je 0x567475
nop
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x567451
mov ecx, dword [ecx]
jmp 0x567453
xor ecx, ecx
mov edx, dword [eax + 0x50]
test edx, edx
jle 0x56746e
mov ebx, dword [eax + 0x38]
sub edx, ebx
cmp ecx, edx
jg 0x56750a
mov edx, ecx
jmp 0x56750a
mov edx, ecx
jmp 0x56750a
mov edx, dword [0x7d29c4]
test edx, edx
je 0x567492
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00567570
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.0046e020
movzx eax, byte [esp + 0x17]
test al, al
je 0x5674d8
add esp, 0x48
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00563870
add esp, 0x48
ret
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
lea ecx, [esp + 0x17]
mov dword [esp + 4], ecx
call fcn.00405200
mov eax, dword [esp + 0x18]
lea edx, [eax - 1]
mov eax, dword [esp + 0x4c]
test edx, edx
jle 0x567519
inc dword [eax + 0x38]
movzx ecx, byte [eax + 0x40]
test cl, cl
je 0x5674e8
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0046e020
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00563870
add esp, 0x48
ret
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0046e020
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66de64]
mov dword [esp + 4], eax
call fcn.00436760
nop
call fcn.00462f70
jmp fcn.00567200