Function at 0x574470
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5748ec
sub esp, 0x24
mov ebx, dword [esp + 0x28]
movzx ebp, word [ebx]
test bp, 0x40
je 0x574559
mov esi, dword [esp + 0x44]
test esi, esi
je 0x5744c8
mov eax, ebx
mov ebx, dword [esp + 0x40]
cmp byte [ebx], 0x3f
jne 0x5744c4
dec esi
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebx, esi
xor ebp, 0x20
jmp 0x5744d0
mov ecx, esi
jmp 0x5744d0
mov eax, ebx
mov ecx, esi
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x574563
mov eax, edx
sub edx, ecx
cmp eax, edx
jb 0x5748e2
mov dword [esp + 0x14], edx
lea eax, [0x5fdc60]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x6263aa]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x574527
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
jmp 0x574537
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00464380
mov eax, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x66e808]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x24
ret
mov eax, ebx
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [eax + 8]
mov edx, ebx
mov ebx, dword [eax + 4]
test esi, esi
jne 0x5745f4
mov edx, dword [esp + 0x3c]
mov eax, edx
sub edx, ecx
cmp eax, edx
jb 0x5748d9
mov dword [esp + 0x14], edx
lea eax, [0x5fdc60]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x627a26]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5745c2
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
jmp 0x5745d2
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00464380
mov eax, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x66e808]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x24
ret
mov ebx, dword [ebx + esi*4 - 4]
cmp byte [ebx], 0x80
jb 0x574682
mov edx, dword [esp + 0x3c]
mov eax, edx
sub edx, ecx
cmp eax, edx
jb 0x5748d0
mov dword [esp + 0x14], edx
lea eax, [0x5fdc60]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x627a26]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x574650
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
jmp 0x574660
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00464380
mov eax, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x66e808]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x24
ret
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], esi
mov word [esp + 0xe], bp
nop
mov edi, dword [eax + 0x10]
test edi, edi
je 0x5746ef
mov dword [esp + 0x1c], edi
mov ecx, dword [0x7f8db0]
mov edx, dword [edi + 0x10]
test ecx, ecx
jne 0x5746bc
mov dword [eax + 0x10], edx
xor eax, eax
call fcn.004645c1
jmp 0x5746e9
lea ecx, [eax + 0x10]
mov ebx, edi
mov edi, ecx
mov eax, edx
call fcn.00464380
lea ecx, [0x60dfa0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.004118b0
mov ebx, dword [esp + 0x18]
movzx ebp, word [esp + 0xe]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
jmp 0x574715
lea eax, [0x60dfa0]
mov dword [esp], eax
call fcn.0040c1e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
inc dword [eax + 0x2c]
mov ebx, dword [esp + 0x18]
movzx ebp, word [esp + 0xe]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
movzx edx, byte [esp + 0x2c]
mov byte [edi], dl
mov eax, edx
mov edx, dword [esp + 0x30]
mov dword [edi + 0x28], edx
mov ecx, edx
mov edx, dword [esp + 0x34]
mov dword [edi + 0x2c], edx
mov word [edi + 2], bp
mov dword [edi + 8], 1
mov dword [edi + 0xc], 1
mov ebp, dword [0x7f8db0]
lea edx, [edi + 0x10]
test ebp, ebp
jne 0x574756
mov dword [edi + 4], edx
jmp 0x57476b
lea ebp, [edi + 4]
mov edi, ebp
mov eax, edx
call fcn.00464380
movzx eax, byte [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 4]
mov ebp, dword [0x7f8db0]
test ebp, ebp
jne 0x57477c
mov dword [edx], ebx
jmp 0x57478e
mov ebp, edi
mov edi, edx
mov eax, ebx
call fcn.00464380
movzx eax, byte [esp + 0x2c]
mov edi, ebp
lea edx, [esi - 1]
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
cmp ebx, edx
jbe 0x5748c7
lea edx, [ebp + esi*4 - 4]
mov ebx, dword [0x7f8db0]
test ebx, ebx
jne 0x5747b7
mov dword [ebp + esi*4 - 4], edi
jmp 0x5747c4
mov ebx, edi
mov edi, edx
mov eax, ebx
call fcn.00464380
mov edi, ebx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.005734f0
movzx eax, byte [esp + 0x2c]
cmp al, 0x11
jne 0x57489e
mov eax, dword [esp + 0x30]
cmp eax, 2
jge 0x5747f8
mov eax, dword [esp + 0x34]
cmp eax, 2
jl 0x57489e
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0x3e8
call fcn.00574900
movzx eax, byte [esp + 8]
test al, al
jne 0x57489e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edx, ecx
sub ecx, eax
cmp edx, ecx
jb 0x5748c2
mov dword [esp + 0x14], ecx
lea eax, [0x5fdc60]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x14
lea ecx, [0x620450]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x57486c
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
jmp 0x57487c
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00464380
mov eax, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x66e808]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x24
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x24
ret
call fcn.00464420
mov eax, edx
mov ecx, ebx
call fcn.00464400
mov ecx, edx
mov edx, eax
call fcn.00464420
mov ecx, edx
mov edx, eax
call fcn.00464420
mov ecx, edx
mov edx, eax
call fcn.00464420
nop
call fcn.00462f70
jmp fcn.00574470