Function at 0x46df80
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46e484
add esp, 0xffffff80
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x46e46b
movzx ebp, byte [ecx + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x13
xchg ebp, eax
jne 0x46e46b
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00471ac8
mov ecx, dword [esp + 0x84]
movzx ebp, byte [ecx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x46dfdc
mov edx, 0x34
jmp 0x46dfe1
mov edx, 0x24
movzx ebp, word [ecx + 0x20]
test bp, bp
jne 0x46dff0
xor ebp, ebp
xor esi, esi
jmp 0x46e002
movzx ebp, bp
lea esi, [edx + ecx]
cmp ebp, 0x10000
ja 0x46e45f
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], esi
xor edx, edx
jmp 0x46e03d
mov dword [esp + 0x24], edx
mov eax, dword [esi + edx*4]
lea ecx, [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00453240
mov eax, dword [esp + 0x24]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
cmp ebp, edx
jg 0x46e00e
mov ebp, dword [esp + 0x64]
add ebp, 3
and ebp, 0xfffffffc
mov dword [esp + 0x64], ebp
mov dword [esp + 0x70], ebp
movzx esi, word [ecx + 0x22]
and esi, 0x7fff
nop
test si, si
jne 0x46e067
xor edx, edx
jmp 0x46e08a
movzx edi, word [ecx + 0x20]
lea edx, [esi + edi]
movzx edx, dx
cmp edx, 0x20000
ja 0x46e455
movzx edi, di
cmp edi, edx
ja 0x46e44c
sub edx, edi
cmp edx, 1
jne 0x46e434
test si, si
jne 0x46e09e
xor edx, edx
xor edi, edi
jmp 0x46e0ee
movzx edi, byte [ecx + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x46e0b0
mov edx, 0x34
jmp 0x46e0b5
mov edx, 0x24
movzx edi, word [ecx + 0x20]
lea ebx, [esi + edi]
movzx ebx, bx
add edx, ecx
cmp ebx, 0x20000
ja 0x46e428
movzx edi, di
cmp edi, ebx
ja 0x46e41f
sub ebx, edi
mov dword [esp + 0x14], ebx
neg ebx
shl edi, 2
sar ebx, 0x1f
and edi, ebx
add edi, edx
mov edx, dword [esp + 0x14]
test edx, edx
jbe 0x46e416
mov edi, dword [edi]
cmp dword [edi], 4
jne 0x46e3fe
test si, si
jne 0x46e10c
xor ebx, ebx
xor edx, edx
jmp 0x46e159
movzx edi, byte [ecx + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x46e11e
mov edx, 0x34
jmp 0x46e123
mov edx, 0x24
movzx edi, word [ecx + 0x20]
add esi, edi
movzx esi, si
add ecx, edx
cmp esi, 0x20000
ja 0x46e3f2
movzx edx, di
cmp edx, esi
ja 0x46e3e9
sub esi, edx
mov ebx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 2
sar esi, 0x1f
and edx, esi
add edx, ecx
test ebx, ebx
jbe 0x46e3e0
mov ecx, dword [edx]
movzx ecx, byte [ecx + 0xf]
and ecx, 0x1f
cmp cl, 0xd
je 0x46e3c8
cmp cl, 0xe
je 0x46e3c8
mov ecx, dword [0x93ee38]
test ecx, ecx
jne 0x46e18d
lea ecx, [ebp + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x64]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [esp + 0x68]
cmp ecx, 0x100
ja 0x46e3b0
movzx ecx, byte [esp + 0x8c]
test cl, cl
je 0x46e1b9
mov edx, dword [esp + 0x60]
jmp 0x46e1bb
xor edx, edx
mov dword [esp + 0x1c], edx
nop
nop
nop
lea eax, [0x92b480]
mov dword [esp], eax
call fcn.0040a2c0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x74], eax
movzx ecx, byte [esp + 0x8c]
mov byte [esp + 0x78], cl
mov edx, dword [0x93ed04]
lea ebx, [0x6de340]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x74]
mov dword [esp + 8], edx
call fcn.00466f20
movzx eax, byte [esp + 0x10]
test al, al
jne 0x46e34a
mov ecx, dword [0x93ed04]
test ecx, ecx
jne 0x46e246
call fcn.00466d70
mov eax, dword [0x93f150]
mov ecx, dword [esp]
test eax, eax
je 0x46e240
call fcn.00471840
mov dword [edi], ecx
mov edx, dword [0x93ed04]
mov dword [edi + 4], edx
mov dword [0x93ed04], ecx
mov ecx, dword [0x93ed08]
cmp ecx, 0x7d0
jge 0x46e389
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00471ac6
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
lea edi, [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.00471f90
mov eax, dword [esp + 0x20]
cmp eax, 0x7d0
jae 0x46e37f
lea ecx, [eax + eax*4]
mov dword [esp + 0x24], ecx
mov edx, dword [0x93f150]
lea ebx, [0x92b484]
lea edi, [ebx + ecx*8]
test edx, edx
je 0x46e2d2
mov dword [esp + 0x7c], edi
lea eax, [0x6f4ca0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0040eb20
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x2c]
call fcn.00471f7c
mov eax, dword [esp + 0x88]
mov dword [esp + 0x74], eax
movzx eax, byte [esp + 0x8c]
mov byte [esp + 0x78], al
mov eax, dword [0x93ed04]
lea ecx, [0x6de340]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
call fcn.00467120
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
inc dword [0x93ed08]
nop
nop
nop
lea eax, [0x92b480]
mov dword [esp], eax
call fcn.0040a4e0
lea eax, [0x472730]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x90], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
lea eax, [eax + eax*4]
mov dword [esp + 0x24], eax
nop
nop
nop
lea ecx, [0x92b480]
mov dword [esp], ecx
call fcn.0040a4e0
lea eax, [0x472730]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x90], eax
sub esp, 0xffffff80
ret
mov ecx, 0x7d0
call fcn.004718b0
nop
nop
nop
lea eax, [0x92b480]
mov dword [esp], eax
call fcn.0040a4e0
lea eax, [0x725575]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0046ad70
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a428]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a420]
mov dword [esp + 4], eax
call fcn.0046a9e0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, edx
mov ecx, esi
call fcn.00471950
mov edx, esi
mov ebx, 0x20000
call fcn.00471930
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a418]
mov dword [esp + 4], eax
call fcn.0046a9e0
xor eax, eax
mov ecx, eax
call fcn.004718b0
mov eax, edi
mov ecx, ebx
call fcn.00471950
mov edx, ebx
mov ebx, 0x20000
call fcn.00471930
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a418]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, edi
mov ecx, edx
call fcn.00471950
mov ebx, 0x20000
call fcn.00471930
mov edx, ebp
mov ebx, 0x10000
call fcn.00471930
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a418]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.0046df80