Function at 0x42f890
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42fd1a
sub esp, 0x2c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jbe 0x42f8bc
nop
mov edx, eax
sub eax, ecx
jmp 0x42f8c0
mov edx, eax
xor eax, eax
test eax, eax
je 0x42fc8f
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0042f6f0
mov eax, dword [esp + 8]
test eax, eax
jle 0x42f908
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
mov ebp, dword [ebx]
lea esi, [eax - 1]
cmp ecx, esi
jbe 0x42fc88
lea ebp, [ebp + eax*8 - 8]
mov esi, dword [esp + 0x34]
cmp dword [ebp + 4], esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
jmp 0x42f912
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
xor ebp, ebp
mov ecx, dword [ebx + 4]
mov edi, dword [ebx]
mov edx, dword [ebx + 8]
cmp ecx, eax
jle 0x42f93e
jbe 0x42fc83
lea ebx, [edi + eax*8]
mov esi, dword [esp + 0x38]
cmp dword [ebx], esi
sete bl
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], bl
mov ebx, dword [esp + 0x30]
jmp 0x42f94c
mov dword [esp + 0x20], eax
xor eax, eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x20]
movzx ebx, byte [esp + 0x13]
test bl, bl
je 0x42fa27
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42fa23
cmp ecx, eax
jbe 0x42fc7e
lea ebx, [eax - 1]
lea ebp, [edi + eax*8]
mov ebp, dword [ebp + 4]
cmp ecx, ebx
jbe 0x42fc77
lea ebx, [edi + eax*8 - 4]
mov dword [ebx], ebp
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
mov ebp, dword [ebx]
mov edi, dword [ebx + 8]
cmp ecx, eax
jb 0x42fc72
mov dword [esp + 0x1c], ecx
mov edx, eax
shl eax, 3
sub ecx, edx
sub edi, edx
mov dword [esp + 0x18], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
add edi, ebp
lea eax, [edx + 1]
mov edx, esi
mov esi, dword [esp + 0x1c]
cmp esi, eax
jb 0x42fc6b
mov esi, dword [esp + 0x18]
dec esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl eax, 3
sar esi, 0x1f
and esi, eax
lea eax, [ebp + esi]
lea ebp, [ecx - 1]
cmp ecx, ebp
jg 0x42f9e5
mov ebp, ecx
cmp eax, edi
je 0x42fa04
mov dword [esp], edi
mov dword [esp + 4], eax
shl ebp, 3
mov dword [esp + 8], ebp
call fcn.00464cc0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 8]
mov ebp, dword [ebx + 4]
lea ecx, [ebp - 1]
cmp eax, ecx
jb 0x42fc64
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x38]
cmp eax, edx
jmp 0x42fc13
test bl, bl
jmp 0x42fa53
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x42fa51
lea edx, [eax - 1]
cmp ecx, edx
jbe 0x42fc5d
lea eax, [edi + eax*8 - 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
cmp ecx, esi
mov edx, dword [esp + 0x30]
mov ebx, ecx
mov ecx, esi
jmp 0x42fc0d
test bl, bl
je 0x42fa75
cmp ecx, eax
jbe 0x42fc58
lea eax, [edi + eax*8]
mov dword [eax], esi
mov eax, dword [esp + 0x38]
cmp eax, esi
mov ecx, esi
mov edx, dword [esp + 0x30]
mov ebx, eax
jmp 0x42fc0d
mov dword [esp + 0x14], eax
lea ebx, [ecx + 1]
cmp edx, ebx
jl 0x42faf7
jb 0x42fc51
mov edx, dword [esp + 0x30]
mov dword [edx + 4], ebx
mov ebp, dword [edx]
mov edi, dword [edx + 8]
lea esi, [eax + 1]
cmp esi, ebx
ja 0x42fc48
sub ecx, eax
sub edi, eax
lea edx, [edi - 1]
neg edx
shl esi, 3
sar edx, 0x1f
and edx, esi
add edx, ebp
cmp eax, ebx
ja 0x42fc41
lea ebx, [ecx + 1]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov esi, eax
shl eax, 3
sar edi, 0x1f
and edi, eax
add ebp, edi
cmp ecx, ebx
jg 0x42fad3
mov ebx, ecx
cmp ebp, edx
je 0x42fbeb
mov dword [esp], edx
mov dword [esp + 4], ebp
shl ebx, 3
mov dword [esp + 8], ebx
call fcn.00464cc0
mov esi, dword [esp + 0x14]
jmp 0x42fbeb
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov ecx, edx
shl edx, 1
mov dword [eax + 8], edx
shl ecx, 4
mov ebx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], ebx
call fcn.0040c530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov edx, dword [ecx + 8]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
jb 0x42fc3a
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jb 0x42fc33
mov ebp, dword [esp + 0x28]
cmp eax, ebp
je 0x42fb7b
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ebx, 3
mov dword [esp + 8], ebx
call fcn.00464cc0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov eax, ebp
mov ebp, dword [ecx + 8]
lea edx, [ebx + 1]
cmp esi, edx
jb 0x42fc2a
sub ebp, ebx
dec ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 3
sar ebp, 0x1f
and ebp, edx
lea edx, [edi + ebp]
sub esi, ebx
lea ebp, [esi - 1]
mov esi, dword [esp + 0x18]
sub esi, ebx
mov edi, dword [esp + 0x1c]
sub edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl ebx, 3
sar edi, 0x1f
and edi, ebx
lea ebx, [edi + eax]
cmp esi, ebp
jl 0x42fbcc
mov esi, ebp
cmp ebx, edx
je 0x42fbe7
mov dword [esp], edx
mov dword [esp + 4], ebx
shl esi, 3
mov dword [esp + 8], esi
call fcn.00464cc0
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ebx, dword [edx]
mov ecx, dword [edx + 4]
cmp ecx, esi
jbe 0x42fc23
lea eax, [ebx + esi*8]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
lea eax, [ebx + esi*8 + 4]
mov ebx, dword [esp + 0x38]
mov dword [eax], ebx
cmp ebx, ecx
mov eax, ebx
mov ebx, edx
mov edx, ecx
jbe 0x42fc1a
nop
sub eax, edx
jmp 0x42fc1c
xor eax, eax
add dword [ebx + 0xc], eax
add esp, 0x2c
ret
mov eax, esi
call fcn.00464400
mov eax, edx
mov ecx, esi
call fcn.00464460
mov ecx, ebx
call fcn.00464440
mov ecx, ebx
call fcn.00464440
mov ecx, ebx
call fcn.00464460
mov eax, esi
mov ecx, ebx
call fcn.00464460
mov ecx, ebx
call fcn.00464440
call fcn.00464400
mov eax, edx
call fcn.00464400
mov edx, eax
call fcn.00464440
mov ecx, esi
call fcn.00464460
call fcn.00464460
mov eax, ebx
call fcn.00464400
call fcn.00464400
call fcn.00464400
mov eax, esi
call fcn.00464400
call fcn.004388b0
lea eax, [0x61f5ea]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a76f]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004391b0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00439030
lea eax, [0x61a82d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004391b0
call fcn.00438920
lea eax, [0x6280fd]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.0042f890