Function at 0x4570e0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457334
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4572b0
movzx edx, byte [ecx + 0x28]
movzx ebx, byte [ecx + 0x29]
cmp dl, 4
jne 0x457118
and ebx, 0xfffffffd
movzx ebp, byte [esp + 0x3d]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x457126
and ebx, 0xfffffffd
mov ebp, dword [eax + 0x18]
mov esi, dword [eax + 4]
test ebp, ebp
jne 0x457210
movzx ebp, byte [eax + 0x2d]
xchg ebp, eax
test al, 8
xchg ebp, eax
je 0x4571c7
mov ebp, dword [eax + 0x24]
mov edi, dword [ebp + 0x18]
cmp dword [edi], ebp
jne 0x4571c7
mov ebp, dword [edi + 0x50]
test ebp, ebp
je 0x4571c7
cmp dword [ebp + 0x18], edi
jne 0x4571c7
cmp dl, 0xd
je 0x45717e
cmp dl, 0x14
jne 0x4571c7
mov edx, ebp
nop
mov dword [eax + 0x24], ebp
mov ebp, dword [edx + 0x1c]
mov dword [eax + 0x14], ebp
mov edx, dword [edx + 0xc8]
dec edx
mov dword [eax + 0x28], edx
and ebx, 0xfffffffd
jmp 0x4571c7
mov dword [esp + 0x30], ebp
mov ecx, ebp
nop
mov dword [eax + 0x24], ebp
mov edx, dword [ecx + 0x20]
mov dword [eax + 8], edx
mov dword [esp], edx
call fcn.0046da10
mov ecx, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x30]
movzx ebp, byte [ecx + 0x29]
mov dword [eax + 0x10], ebx
mov ebx, dword [edx + 0x1c]
mov dword [eax + 0x14], ebx
mov edx, dword [edx + 0xc8]
dec edx
mov dword [eax + 0x28], edx
mov ebx, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov byte [esp + 0x1f], bl
mov edx, dword [eax + 8]
mov ebp, dword [ecx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 1
call fcn.004526e0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
add ecx, dword [esp + 0x14]
add ecx, 4
mov dword [eax + 0x18], ecx
movzx ebx, byte [esp + 0x1f]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test bl, 1
je 0x45721e
mov dword [eax + 0x10], 0
jmp 0x45725d
test bl, 2
je 0x45724b
movzx edx, byte [esp + 0x3c]
test dl, dl
je 0x457235
movzx ebx, byte [eax + 0x2d]
test bl, 3
je 0x45724b
movzx ebx, byte [eax + 0x2d]
test bl, 3
jne 0x457242
test dl, dl
je 0x4572bc
mov dword [eax + 0x10], 0
jmp 0x45725d
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x45725d
mov ecx, dword [eax + 0x18]
add ecx, 0xfffffffc
mov ecx, dword [ecx]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x18]
add ecx, 0xfffffffc
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], ecx
cmp byte [eax + 0x2c], 0x13
jne 0x4572ac
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x45728a
mov dword [eax + 0xc], 0
jmp 0x4572ac
mov edx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00452360
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
add ecx, dword [esp + 8]
inc ecx
mov dword [eax + 0xc], ecx
add esp, 0x34
ret
mov dword [esp], eax
call fcn.00457670
add esp, 0x34
ret
test ecx, ecx
jne 0x45731b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
call fcn.00437f30
lea eax, [0x72b3c7]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00438790
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00438790
call fcn.00438130
call fcn.00437f90
lea eax, [0x71c435]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0046ad70
mov eax, dword [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00452490
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x4572c4
call fcn.00470430
jmp fcn.004570e0